diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
commit | 4f80f53c2998fdafb1311942fc473e63709ac8cd (patch) | |
tree | 217ba475db6f1b9a23b9b3c009c4886179c2d09f /src/decode.c | |
parent | 2bf7ec4f3935c68e6d129ffac17820411b3ea44d (diff) | |
download | mpd-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/decode.c')
-rw-r--r-- | src/decode.c | 3 |
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(); |