summaryrefslogtreecommitdiff
path: root/apps/codecs/wav.c
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-03-12 11:34:09 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-03-12 11:34:09 +0000
commit2a9c42d1ed265f67d5dfb15b01c3ca1235127197 (patch)
tree70a1dd858a8aa85e9e12157cdce71ac5b196c3d9 /apps/codecs/wav.c
parentc7517f5662eda9af236e6206af6f8b02e77bf118 (diff)
downloadrockbox-2a9c42d1ed265f67d5dfb15b01c3ca1235127197.tar.gz
rockbox-2a9c42d1ed265f67d5dfb15b01c3ca1235127197.zip
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
Diffstat (limited to 'apps/codecs/wav.c')
-rw-r--r--apps/codecs/wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c
index f4e7f778fd..14d7136592 100644
--- a/apps/codecs/wav.c
+++ b/apps/codecs/wav.c
@@ -165,7 +165,7 @@ enum codec_status codec_main(void)
165 uint32_t size; 165 uint32_t size;
166 166
167 /* Generic codec initialisation */ 167 /* Generic codec initialisation */
168 ci->configure(DSP_SET_SAMPLE_DEPTH, PCM_OUTPUT_DEPTH); 168 ci->configure(DSP_SET_SAMPLE_DEPTH, PCM_OUTPUT_DEPTH-1);
169 169
170next_track: 170next_track:
171 if (codec_init()) { 171 if (codec_init()) {