mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Remove poll_ask callback
Removed poll_ask callbacks. poll_ask function is merged to poll_descriptors callbacks.
This commit is contained in:
parent
e61d385993
commit
a6d3b9e4e0
18 changed files with 24 additions and 55 deletions
|
|
@ -1310,11 +1310,6 @@ int snd_pcm_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int s
|
|||
assert(pcm && pfds);
|
||||
if (pcm->ops->poll_descriptors)
|
||||
return pcm->ops->poll_descriptors(pcm->op_arg, pfds, space);
|
||||
if (pcm->fast_ops->poll_ask) {
|
||||
err = pcm->fast_ops->poll_ask(pcm->fast_op_arg);
|
||||
if (err < 0)
|
||||
return err;
|
||||
}
|
||||
if (pcm->poll_fd < 0) {
|
||||
SNDMSG("poll_fd < 0");
|
||||
return -EIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue