summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-12-20 13:54:16 +0100
committerMax Kellermann <max@musicpd.org>2019-12-22 12:08:44 +0100
commit9a577f8060413f7d5d2b557f7067dad4bceeeb36 (patch)
tree027046c7d5845008ef7065f1b669bbb24eb53221 /NEWS
parentd75a0d714ec966e63f75c9e81bd82dfae10d84a0 (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--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 169a9610b..7804e0d20 100644
--- a/NEWS
+++ b/NEWS
@@ -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)