diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-08-21 21:32:09 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-08-21 21:32:09 +0000 |
commit | b1618922db92f9bc65b0841f66eb71742bc1b553 (patch) | |
tree | 401dbbda10d88248b2dfd3c9961363f7f6b121d4 /sbc/sbcenc.c | |
parent | 38c5be0cc3029bf78445be15470d18343a5b4dae (diff) |
Add swap member to sbc struct and fix pcm plugin to not swap the buffer.
Diffstat (limited to 'sbc/sbcenc.c')
-rw-r--r-- | sbc/sbcenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbc/sbcenc.c b/sbc/sbcenc.c index 8919fb92..2334f8d3 100644 --- a/sbc/sbcenc.c +++ b/sbc/sbcenc.c @@ -144,6 +144,7 @@ static void encode(char *filename, int subbands, int joint) sbc.channels = BE_INT(au_hdr->channels); sbc.subbands = subbands; sbc.joint = joint; + sbc.swap = 1; count = BE_INT(au_hdr->data_size); size = len - BE_INT(au_hdr->hdr_size); memmove(buf, buf + BE_INT(au_hdr->hdr_size), size); |