From 9a577f8060413f7d5d2b557f7067dad4bceeeb36 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 20 Dec 2019 13:54:16 +0100 Subject: 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 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') 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) -- cgit v1.2.3