diff options
author | Max Kellermann <max@musicpd.org> | 2019-12-20 13:54:16 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-12-22 12:08:44 +0100 |
commit | 9a577f8060413f7d5d2b557f7067dad4bceeeb36 (patch) | |
tree | 027046c7d5845008ef7065f1b669bbb24eb53221 /NEWS | |
parent | d75a0d714ec966e63f75c9e81bd82dfae10d84a0 (diff) |
event/MultiSocketMonitor: add workaround for /dev/null
The ALSA "null" driver opens /dev/null and returns the file handle
from snd_pcm_poll_descriptors(), but /dev/null cannot be used with
epoll, the epoll_ctl() system call returns -EPERM. This means that
the ALSA output hangs, eventually freezing the whole MPD process.
This commit adds a workaround to the MultiSocketMonitor class which is
used by the ALSA output plugin.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/695
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,6 @@ ver 0.21.18 (not yet released) +* output + - alsa: fix hang bug with ALSA "null" outputs * reduce unnecessary CPU wakeups ver 0.21.17 (2019/12/16) |