From a745805cb3961ccf88f0119f28dc919ed9c571e5 Mon Sep 17 00:00:00 2001 From: Brad Midgley Date: Sat, 24 Mar 2007 14:01:31 +0000 Subject: whitespace fixes --- sbc/sbc.c | 4 ++-- sbc/sbcdec.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sbc') diff --git a/sbc/sbc.c b/sbc/sbc.c index 1f16d70a..ce6252df 100644 --- a/sbc/sbc.c +++ b/sbc/sbc.c @@ -594,7 +594,7 @@ static inline void sbc_synthesize_four(struct sbc_decoder_state *state, for(i = 0; i < 8; i++) { /* Shifting */ state->offset[ch][i]--; - if(state->offset[ch][i] < 0) { + if (state->offset[ch][i] < 0) { state->offset[ch][i] = 79; for(j = 0; j < 9; j++) { state->V[ch][j+80] = state->V[ch][j]; @@ -634,7 +634,7 @@ static inline void sbc_synthesize_eight(struct sbc_decoder_state *state, for(i = 0; i < 16; i++) { /* Shifting */ state->offset[ch][i]--; - if(state->offset[ch][i] < 0) { + if (state->offset[ch][i] < 0) { state->offset[ch][i] = 159; for(j = 0; j < 9; j++) { state->V[ch][j+160] = state->V[ch][j]; diff --git a/sbc/sbcdec.c b/sbc/sbcdec.c index 3435e8f8..decd758d 100644 --- a/sbc/sbcdec.c +++ b/sbc/sbcdec.c @@ -122,11 +122,11 @@ static void decode(char *filename, char *audiodevice, int tofile) // buffer is too full to stuff decoded audio in // so it must be written to the device written = write(ad, buf, count); - if(written > 0) count -= written; + if (written > 0) count -= written; } // sanity check - if(count + sbc.len > BUF_SIZE) { + if (count + sbc.len > BUF_SIZE) { fprintf(stderr, "buffer size of %d is too small for decoded data (%d)\n", BUF_SIZE, sbc.len + count); exit(1); } @@ -143,7 +143,7 @@ static void decode(char *filename, char *audiodevice, int tofile) if (count > 0) { written = write(ad, buf, count); - if(written > 0) count -= written; + if (written > 0) count -= written; } close: -- cgit