mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Added POLLNVAL to poll->events
This commit is contained in:
parent
d0526d603c
commit
098932ce57
7 changed files with 12 additions and 12 deletions
|
|
@ -616,7 +616,7 @@ int snd_mixer_poll_descriptors_revents(snd_mixer_t *mixer, struct pollfd *pfds,
|
|||
return -EINVAL;
|
||||
res = 0;
|
||||
for (idx = 0; idx < nfds; idx++)
|
||||
res |= pfds->revents & (POLLIN|POLLERR);
|
||||
res |= pfds->revents & (POLLIN|POLLERR|POLLNVAL);
|
||||
*revents = res;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue