From b4b1879cc026ef2cc6f7da45270061d5cbf69776 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Fri, 14 Jul 2006 18:01:32 +0000 Subject: Remove some misleading comments, fix shanks terrible spelling git-svn-id: https://svn.musicpd.org/mpd/trunk@4322 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/decode.c b/src/decode.c index 6cb702601..5cd14ecb2 100644 --- a/src/decode.c +++ b/src/decode.c @@ -532,9 +532,6 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) { { processDecodeInput(); if(quit) return; - /*playSilenceOrSleep();*/ - /* instead we want to pause audio and play silence for - * devices that don't support pausing */ my_usleep(1000); } @@ -570,7 +567,7 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) { else doCrossFade = -1; } - /* copy thse to locale variables to prevent any potential + /* copy these to local variables to prevent any potential race conditions and weirdness */ end = cb->end; @@ -690,8 +687,6 @@ 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; } } -- cgit v1.2.3