aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-14 18:01:32 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-14 18:01:32 +0000
commitb4b1879cc026ef2cc6f7da45270061d5cbf69776 (patch)
tree79d5d562a8a59f413ca109fd35a5c93b65d1755c /src/decode.c
parentba9a2c349f1bb079c790e00203464a742920d503 (diff)
downloadmpd-b4b1879cc026ef2cc6f7da45270061d5cbf69776.tar.gz
mpd-b4b1879cc026ef2cc6f7da45270061d5cbf69776.tar.xz
mpd-b4b1879cc026ef2cc6f7da45270061d5cbf69776.zip
Remove some misleading comments, fix shanks terrible spelling
git-svn-id: https://svn.musicpd.org/mpd/trunk@4322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c7
1 files changed, 1 insertions, 6 deletions
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;
}
}