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.