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.
This commit is contained in:
Max Kellermann 2008-08-26 08:27:04 +02:00
parent 2bf7ec4f39
commit 4f80f53c29

View File

@ -455,9 +455,6 @@ static void decodeParent(void)
break;
}
notify_signal(&dc.notify);
notify_wait(&pc.notify);
if (do_pause) {
dropBufferedAudio();
closeAudioDevice();