Added POLLNVAL test

This commit is contained in:
Jaroslav Kysela 2002-12-02 20:18:29 +00:00
parent 870f73612f
commit a439342676

View file

@ -1698,6 +1698,8 @@ mixer_iteration (void)
if (finished > 0) {
if (snd_mixer_poll_descriptors_revents(mixer_handle, fds + 1, count, &revents) >= 0) {
if (revents & POLLNVAL)
mixer_abort (ERR_FCN, "snd_mixer_poll_descriptors (POLLNVAL)", 0);
if (revents & POLLERR)
mixer_abort (ERR_FCN, "snd_mixer_poll_descriptors (POLLERR)", 0);
if (revents & POLLIN)