summaryrefslogtreecommitdiff
path: root/apps/codecs/libalac
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-02-13 19:26:18 +0000
committerThom Johansen <thomj@rockbox.org>2006-02-13 19:26:18 +0000
commit37a165d7964cbb09cbab375ddeeabf304b8c558b (patch)
tree8f02ba48e5175c8b8820ed5beaded1a126709936 /apps/codecs/libalac
parent153f906d74eeff933a44fdf038b292d8d543e8f0 (diff)
downloadrockbox-37a165d7964cbb09cbab375ddeeabf304b8c558b.zip
rockbox-37a165d7964cbb09cbab375ddeeabf304b8c558b.tar.gz
rockbox-37a165d7964cbb09cbab375ddeeabf304b8c558b.tar.bz2
rockbox-37a165d7964cbb09cbab375ddeeabf304b8c558b.tar.xz
Convert to use common internal sample format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8681 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libalac')
-rw-r--r--apps/codecs/libalac/decomp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libalac/decomp.h b/apps/codecs/libalac/decomp.h
index 853c9d8..1628110 100644
--- a/apps/codecs/libalac/decomp.h
+++ b/apps/codecs/libalac/decomp.h
@@ -1,8 +1,8 @@
#ifndef __ALAC__DECOMP_H
#define __ALAC__DECOMP_H
-/* Always output samples shifted to 28 bits */
-#define ALAC_OUTPUT_DEPTH 28
+/* Always output samples shifted to 28 bits + sign*/
+#define ALAC_OUTPUT_DEPTH 29
#define SCALE16 (ALAC_OUTPUT_DEPTH - 16)
#define ALAC_MAX_CHANNELS 2
#define ALAC_BLOCKSIZE 4096 /* Number of samples per channel per block */