mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Added snd_seq_system_info_get_cur_clients/queues.
This commit is contained in:
parent
48c58ade1d
commit
78156e8f16
2 changed files with 23 additions and 0 deletions
|
|
@ -500,6 +500,27 @@ int snd_seq_system_info_get_channels(const snd_seq_system_info_t *info)
|
|||
return info->channels;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Get the current number of clients
|
||||
* \param info #snd_seq_system_info_t container
|
||||
* \return current number of clients
|
||||
*/
|
||||
int snd_seq_system_info_get_cur_clients(const snd_seq_system_info_t *info)
|
||||
{
|
||||
assert(info);
|
||||
return info->cur_clients;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Get the current number of queues
|
||||
* \param info #snd_seq_system_info_t container
|
||||
* \return current number of queues
|
||||
*/
|
||||
int snd_seq_system_info_get_cur_queues(const snd_seq_system_info_t *info)
|
||||
{
|
||||
assert(info);
|
||||
return info->cur_queues;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief obtain the sequencer system information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue