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/vox.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/vox.c')
-rw-r--r-- | apps/codecs/vox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/vox.c b/apps/codecs/vox.c index f306d8e1f1..21742e16d9 100644 --- a/apps/codecs/vox.c +++ b/apps/codecs/vox.c | |||
@@ -57,7 +57,7 @@ enum codec_status codec_main(void) | |||
57 | int offset = 0; | 57 | int offset = 0; |
58 | 58 | ||
59 | /* Generic codec initialisation */ | 59 | /* Generic codec initialisation */ |
60 | ci->configure(DSP_SET_SAMPLE_DEPTH, PCM_OUTPUT_DEPTH); | 60 | ci->configure(DSP_SET_SAMPLE_DEPTH, PCM_OUTPUT_DEPTH-1); |
61 | 61 | ||
62 | next_track: | 62 | next_track: |
63 | if (codec_init()) { | 63 | if (codec_init()) { |