snd_seq_set_queue_info

Name

snd_seq_set_queue_info -- set queue attributes

Synopsis

int snd_seq_set_queue_info(snd_seq_t *handle, int q, snd_seq_queue_info_t *info);

Description

Sets the information of 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.

This function may change the ownership of the queue. In order to override the owner client, the queue must be unlocked by its previous owner.

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

See Also

snd_seq_get_queue_info, snd_seq_queue_info_t