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:
@@ -455,9 +455,6 @@ static void decodeParent(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
notify_signal(&dc.notify);
|
|
||||||
notify_wait(&pc.notify);
|
|
||||||
|
|
||||||
if (do_pause) {
|
if (do_pause) {
|
||||||
dropBufferedAudio();
|
dropBufferedAudio();
|
||||||
closeAudioDevice();
|
closeAudioDevice();
|
||||||
|
Reference in New Issue
Block a user