Commit 5d551d9e authored by J. Alexander Treuman's avatar J. Alexander Treuman

Remove unused playSilenceOrSleep macro

git-svn-id: https://svn.musicpd.org/mpd/trunk@4323 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent b4b1879c
...@@ -100,12 +100,6 @@ int calculateCrossFadeChunks(PlayerControl * pc, AudioFormat * af) { ...@@ -100,12 +100,6 @@ int calculateCrossFadeChunks(PlayerControl * pc, AudioFormat * af) {
return (int)chunks; return (int)chunks;
} }
#define playSilenceOrSleep() \
if(isAudioDeviceOpen()) { \
playAudio(silence, CHUNK_SIZE); \
} \
else my_usleep(10000);
#define handleDecodeStart() \ #define handleDecodeStart() \
if(decodeWaitedOn) { \ if(decodeWaitedOn) { \
if(dc->state!=DECODE_STATE_START && decode_pid > 0 && \ if(dc->state!=DECODE_STATE_START && decode_pid > 0 && \
......
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