diff options
author | Jaroslav Kysela <perex@perex.cz> | 2002-11-30 09:47:20 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2002-11-30 09:47:20 +0000 |
commit | 098932ce57a9536e313acbfab877f86b668a9bc6 (patch) | |
tree | 25e56414e96aa4192f88fd8cc86e4754e77fb2bc /src/mixer | |
parent | d0526d603c5a3c3db57683f3e2cdd8a6d13c29a9 (diff) | |
download | alsa-lib-098932ce57a9536e313acbfab877f86b668a9bc6.tar.gz |
Added POLLNVAL to poll->events
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/mixer.c b/src/mixer/mixer.c index 469d137d..8723a38e 100644 --- a/src/mixer/mixer.c +++ b/src/mixer/mixer.c @@ -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; } |