mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Changed descriptors_count
This commit is contained in:
parent
0c7637393f
commit
191d03501e
12 changed files with 22 additions and 33 deletions
|
|
@ -74,12 +74,10 @@ int _snd_ctl_poll_descriptor(snd_ctl_t *ctl)
|
|||
return ctl->ops->poll_descriptor(ctl);
|
||||
}
|
||||
|
||||
int snd_ctl_poll_descriptors_count(snd_ctl_t *ctl, unsigned int *count)
|
||||
int snd_ctl_poll_descriptors_count(snd_ctl_t *ctl)
|
||||
{
|
||||
assert(ctl);
|
||||
assert(count);
|
||||
*count = 1;
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space)
|
||||
|
|
|
|||
|
|
@ -83,11 +83,10 @@ int snd_hctl_async(snd_hctl_t *hctl, int sig, pid_t pid)
|
|||
return snd_ctl_async(hctl->ctl, sig, pid);
|
||||
}
|
||||
|
||||
int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl, unsigned int *count)
|
||||
int snd_hctl_poll_descriptors_count(snd_hctl_t *hctl)
|
||||
{
|
||||
assert(hctl);
|
||||
assert(count);
|
||||
return snd_ctl_poll_descriptors_count(hctl->ctl, count);
|
||||
return snd_ctl_poll_descriptors_count(hctl->ctl);
|
||||
}
|
||||
|
||||
int snd_hctl_poll_descriptors(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int space)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue