summaryrefslogtreecommitdiffstats
path: root/sbc/sbcdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbc/sbcdec.c')
-rw-r--r--sbc/sbcdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbc/sbcdec.c b/sbc/sbcdec.c
index b5305550..d84a631b 100644
--- a/sbc/sbcdec.c
+++ b/sbc/sbcdec.c
@@ -90,6 +90,7 @@ static void decode(char *filename, char *audiodevice, int tofile)
}
sbc_init(&sbc, 0L);
+ sbc.swap = 1;
framelen = sbc_decode(&sbc, stream, streamlen);
printf("%d Hz, %d channels\n", sbc.rate, sbc.channels);