aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 83d0936c9..0ffa9f87e 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -497,7 +497,10 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
{
processDecodeInput();
if(quit) return;
- playSilenceOrSleep();
+ /*playSilenceOrSleep();*/
+ /* instead we want to pause audio and play silence for
+ * devices that don't support pausing */
+ my_usleep(1000);
}
while(!quit) {
@@ -652,6 +655,8 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
break;
}
else {
+ /* instead we want to pause audio and play silence for
+ * devices that don't support pausing */
if(playAudio(silence, CHUNK_SIZE) < 0) quit = 1;
}
}