mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Changed behaviour of poll_descriptors function (returns the filled count of fds).
Added poll_descriptors_count functions. Added snd_mixer_elem_count function.
This commit is contained in:
parent
c71b72ee27
commit
cc956312b3
11 changed files with 82 additions and 7 deletions
|
|
@ -41,9 +41,11 @@ int snd_mixer_close(snd_mixer_t *mixer);
|
|||
int snd_mixer_info(snd_mixer_t *mixer, snd_mixer_info_t *info);
|
||||
snd_mixer_elem_t *snd_mixer_first_elem(snd_mixer_t *mixer);
|
||||
snd_mixer_elem_t *snd_mixer_last_elem(snd_mixer_t *mixer);
|
||||
size_t snd_mixer_elem_count(snd_mixer_t *mixer);
|
||||
int snd_mixer_handle_events(snd_mixer_t *mixer);
|
||||
int snd_mixer_attach(snd_mixer_t *mixer, const char *name);
|
||||
int snd_mixer_detach(snd_mixer_t *mixer, const char *name);
|
||||
int snd_mixer_poll_descriptors_count(snd_mixer_t *mixer, unsigned int *count);
|
||||
int snd_mixer_poll_descriptors(snd_mixer_t *mixer, struct pollfd *pfds, unsigned int space);
|
||||
int snd_mixer_load(snd_mixer_t *mixer);
|
||||
int snd_mixer_wait(snd_mixer_t *mixer, int timeout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue