summaryrefslogtreecommitdiff
path: root/apps/codecs/libalac/decomp.h
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2010-02-03 00:37:24 +0000
committerTom Ross <midgey@rockbox.org>2010-02-03 00:37:24 +0000
commitdb64bf9ea47e8e3fca22f428e3289e1618cdaeac (patch)
tree0c34a44c58bbcb3d1da13212f481e00e11f84394 /apps/codecs/libalac/decomp.h
parentb2ffb3e08f3154b61f35b2eb1243e8e57e62f298 (diff)
downloadrockbox-db64bf9ea47e8e3fca22f428e3289e1618cdaeac.zip
rockbox-db64bf9ea47e8e3fca22f428e3289e1618cdaeac.tar.gz
rockbox-db64bf9ea47e8e3fca22f428e3289e1618cdaeac.tar.bz2
rockbox-db64bf9ea47e8e3fca22f428e3289e1618cdaeac.tar.xz
FS #10690: Add support for 24 bit ALAC files based on libalac 0.2.0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24475 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libalac/decomp.h')
-rw-r--r--apps/codecs/libalac/decomp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/libalac/decomp.h b/apps/codecs/libalac/decomp.h
index e4a19a7..bd47680 100644
--- a/apps/codecs/libalac/decomp.h
+++ b/apps/codecs/libalac/decomp.h
@@ -8,6 +8,7 @@
/* Always output samples shifted to 28 bits + sign*/
#define ALAC_OUTPUT_DEPTH 29
#define SCALE16 (ALAC_OUTPUT_DEPTH - 16)
+#define SCALE24 (ALAC_OUTPUT_DEPTH - 24)
#define ALAC_MAX_CHANNELS 2
#define ALAC_BLOCKSIZE 4096 /* Number of samples per channel per block */