Commit b4b1879c authored by J. Alexander Treuman's avatar J. Alexander Treuman

Remove some misleading comments, fix shanks terrible spelling

git-svn-id: https://svn.musicpd.org/mpd/trunk@4322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent ba9a2c34
...@@ -532,9 +532,6 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) { ...@@ -532,9 +532,6 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
{ {
processDecodeInput(); processDecodeInput();
if(quit) return; if(quit) return;
/*playSilenceOrSleep();*/
/* instead we want to pause audio and play silence for
* devices that don't support pausing */
my_usleep(1000); my_usleep(1000);
} }
...@@ -570,7 +567,7 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) { ...@@ -570,7 +567,7 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
else doCrossFade = -1; 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 */ race conditions and weirdness */
end = cb->end; end = cb->end;
...@@ -690,8 +687,6 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) { ...@@ -690,8 +687,6 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
break; break;
} }
else { 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; if(playAudio(silence, CHUNK_SIZE) < 0) quit = 1;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment