From 2a9c42d1ed265f67d5dfb15b01c3ca1235127197 Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Fri, 12 Mar 2010 11:34:09 +0000 Subject: libpcm: output depth corrects for the sign 1bit. linear pcm corrects bits shift. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25131 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libpcm/pcm_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libpcm/pcm_common.h') diff --git a/apps/codecs/libpcm/pcm_common.h b/apps/codecs/libpcm/pcm_common.h index b303273..412ffbc 100644 --- a/apps/codecs/libpcm/pcm_common.h +++ b/apps/codecs/libpcm/pcm_common.h @@ -25,8 +25,8 @@ #include #include -/* decoded pcm sample depth */ -#define PCM_OUTPUT_DEPTH 28 +/* decoded pcm sample depth (sample 28bit + sign 1bit) */ +#define PCM_OUTPUT_DEPTH 29 /* Macro that sign extends an unsigned byte */ #define SE(x) ((int32_t)((int8_t)(x))) -- cgit v1.1