summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-14 18:02:23 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-14 18:02:23 +0000
commit5d551d9e4d83fb751b13666e31aa45fd86f7de25 (patch)
treeb4c08d5a518cbabec3e3ad8997af4ba874b8f090
parentb4b1879cc026ef2cc6f7da45270061d5cbf69776 (diff)
Remove unused playSilenceOrSleep macro
git-svn-id: https://svn.musicpd.org/mpd/trunk@4323 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/decode.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/decode.c b/src/decode.c
index 5cd14ecb2..3ef720081 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -100,12 +100,6 @@ int calculateCrossFadeChunks(PlayerControl * pc, AudioFormat * af) {
return (int)chunks;
}
-#define playSilenceOrSleep() \
- if(isAudioDeviceOpen()) { \
- playAudio(silence, CHUNK_SIZE); \
- } \
- else my_usleep(10000);
-
#define handleDecodeStart() \
if(decodeWaitedOn) { \
if(dc->state!=DECODE_STATE_START && decode_pid > 0 && \