Added snd_seq_port_subscribe_set_voices()

This commit is contained in:
Jaroslav Kysela 2002-05-12 07:23:32 +00:00
parent 8fa8c25f0b
commit f74dc6ba74
2 changed files with 12 additions and 0 deletions

View file

@ -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