diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-03-12 11:34:09 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-03-12 11:34:09 +0000 |
commit | 2a9c42d1ed265f67d5dfb15b01c3ca1235127197 (patch) | |
tree | 70a1dd858a8aa85e9e12157cdce71ac5b196c3d9 /apps/codecs/wav.c | |
parent | c7517f5662eda9af236e6206af6f8b02e77bf118 (diff) | |
download | rockbox-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.c | 2 |
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 | ||
170 | next_track: | 170 | next_track: |
171 | if (codec_init()) { | 171 | if (codec_init()) { |