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.
---

 src/decode.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/decode.c b/src/decode.c
index 4df410e..759eacb 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();


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to