mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-01-18 17:00:29 +01:00
Instead of relying on the snd_mixer_* functions failing, we check for POLLERR and POLLNVAL first. After this, any errors in handling the mixer events are deemed fatal (that is we cause the ALSA source/sink thread to terminate). The case where POLLERR is set but POLLNVAL is not does not actually occur, but we're making this a soft failure (stop polling the mixer, but don't kill the I/O thread). If other conditions where POLLERR occurs turn up, we need to handle them explicitly. Thanks to Linus Torvalds for helping get this right. |
||
|---|---|---|
| .. | ||
| daemon | ||
| modules | ||
| pulse | ||
| pulsecore | ||
| tests | ||
| utils | ||
| .gitignore | ||
| depmod.py | ||
| Makefile.am | ||
| map-file | ||