Reformatting some code.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5819 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2007-04-03 20:10:22 +00:00
parent f3e833af8e
commit 2caf18ad43
1 changed files with 5 additions and 5 deletions

View File

@ -220,20 +220,20 @@ static int decodeSeek(PlayerControl * pc, DecoderControl * dc,
} \
if(pc->pause) { \
pause = !pause; \
if(pause) pc->state = PLAYER_STATE_PAUSE; \
if (pause) pc->state = PLAYER_STATE_PAUSE; \
else { \
if(openAudioDevice(NULL)<0) { \
if (openAudioDevice(NULL) < 0) { \
pathcpy_trunc(pc->erroredUrl, pc->utf8url); \
pc->error = PLAYER_ERROR_AUDIO; \
ERROR("problems opening audio device while playing \"%s\"\n", pc->utf8url); \
quitDecode(pc,dc); \
quitDecode(pc, dc); \
return; \
} \
pc->state = PLAYER_STATE_PLAY; \
} \
pc->pause = 0; \
kill(getppid(),SIGUSR1); \
if(pause) { \
kill(getppid(), SIGUSR1); \
if (pause) { \
dropBufferedAudio(); \
closeAudioDevice(); \
} \