output/alsa: implement Interrupt()

This allows canceling the blocking method LockWaitWriteAvailable(),
and thus allows breaking free of misbehaving ALSA drivers, avoiding a
MPD lockup.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/966
This commit is contained in:
Max Kellermann
2020-10-01 15:24:52 +02:00
parent 4cb5e69811
commit 4ad525d939
2 changed files with 49 additions and 0 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.22.1 (not yet released)
* output
- alsa: don't deadlock when the ALSA driver is buggy
ver 0.22 (2020/09/23)
* protocol