snd_seq_set_queue_tempo

Name

snd_seq_set_queue_tempo -- set the tempo of the queue

Synopsis

int snd_seq_set_queue_tempo(snd_seq_t *handle, int q, snd_seq_queue_tempo_t *tempo);

Description

Sets the current tempo information of the specified queue q. Since this function replaces the whole snd_seq_queue_info_t structure, the data ought to be initialized properly by snd_seq_get_queue_info. The queue field in info is replaced with q automatically. ALSA sequencer currently has a restriction that the PPQ can't be modified during the queue is running.

Function returns zero if successful, or a negative error code.

See Also

snd_seq_get_queue_tempo, snd_seq_queue_tempo_t