summaryrefslogtreecommitdiff
path: root/apps/codecs/libpcm/pcm_common.h
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-03-06 05:51:24 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-03-06 05:51:24 +0000
commitff733b5f896b76b0678b7cdc178ee805f377b7b4 (patch)
treeaf976e5d9a834e19ab64827e89b96f2a2f17bcd7 /apps/codecs/libpcm/pcm_common.h
parentf1b209c057b8470cb32c221438f7c123a4bf1392 (diff)
downloadrockbox-ff733b5f896b76b0678b7cdc178ee805f377b7b4.zip
rockbox-ff733b5f896b76b0678b7cdc178ee805f377b7b4.tar.gz
rockbox-ff733b5f896b76b0678b7cdc178ee805f377b7b4.tar.bz2
rockbox-ff733b5f896b76b0678b7cdc178ee805f377b7b4.tar.xz
libpcm: decoded pcm depth corrects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25040 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libpcm/pcm_common.h')
-rw-r--r--apps/codecs/libpcm/pcm_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/libpcm/pcm_common.h b/apps/codecs/libpcm/pcm_common.h
index 7dcacbd..b303273 100644
--- a/apps/codecs/libpcm/pcm_common.h
+++ b/apps/codecs/libpcm/pcm_common.h
@@ -25,6 +25,9 @@
#include <stdbool.h>
#include <inttypes.h>
+/* decoded pcm sample depth */
+#define PCM_OUTPUT_DEPTH 28
+
/* Macro that sign extends an unsigned byte */
#define SE(x) ((int32_t)((int8_t)(x)))