mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Added snd_seq_port_subscribe_set_voices()
This commit is contained in:
parent
8fa8c25f0b
commit
f74dc6ba74
2 changed files with 12 additions and 0 deletions
|
|
@ -1455,6 +1455,17 @@ void snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_t *info, int q)
|
|||
info->queue = q;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Set the voices of a port_subscribe container
|
||||
* \param info port_subscribe container
|
||||
* \param voices voices to be allocated (0 = don't care)
|
||||
*/
|
||||
void snd_seq_port_subscribe_set_voices(snd_seq_port_subscribe_t *info, unsigned int voices)
|
||||
{
|
||||
assert(info);
|
||||
info->voices = voices;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Set the exclusive mode of a port_subscribe container
|
||||
* \param info port_subscribe container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue