aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
commit4f80f53c2998fdafb1311942fc473e63709ac8cd (patch)
tree217ba475db6f1b9a23b9b3c009c4886179c2d09f /src
parent2bf7ec4f3935c68e6d129ffac17820411b3ea44d (diff)
downloadmpd-4f80f53c2998fdafb1311942fc473e63709ac8cd.tar.gz
mpd-4f80f53c2998fdafb1311942fc473e63709ac8cd.tar.xz
mpd-4f80f53c2998fdafb1311942fc473e63709ac8cd.zip
do not sleep after openAudioDevice()
After the decoder has been initialized and the audio device has been opened, don't sleep. The decoder plugin won't do anything special nor will it care to wake us up for some reason.
Diffstat (limited to 'src')
-rw-r--r--src/decode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/decode.c b/src/decode.c
index 4df410e50..759eacbc0 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -455,9 +455,6 @@ static void decodeParent(void)
break;
}
- notify_signal(&dc.notify);
- notify_wait(&pc.notify);
-
if (do_pause) {
dropBufferedAudio();
closeAudioDevice();