mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -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
|
|
@ -178,7 +178,7 @@ int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int s
|
|||
assert(ctl && pfds);
|
||||
if (space > 0) {
|
||||
pfds->fd = ctl->poll_fd;
|
||||
pfds->events = POLLIN|POLLERR;
|
||||
pfds->events = POLLIN|POLLERR|POLLNVAL;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue