diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-04-03 20:10:22 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-04-03 20:10:22 +0000 |
commit | 2caf18ad433791b5738f95121feadc0c74cd6ad7 (patch) | |
tree | 6d47b2ad1375601445c5f3999552d0cf3b7462f4 /src/decode.c | |
parent | f3e833af8e5bf87cd6b986f44bd03afaf68a56ba (diff) | |
download | mpd-2caf18ad433791b5738f95121feadc0c74cd6ad7.tar.gz mpd-2caf18ad433791b5738f95121feadc0c74cd6ad7.tar.xz mpd-2caf18ad433791b5738f95121feadc0c74cd6ad7.zip |
Reformatting some code.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5819 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/decode.c b/src/decode.c index 656b7313a..625a40523 100644 --- a/src/decode.c +++ b/src/decode.c @@ -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(); \ } \ |