summaryrefslogtreecommitdiff
path: root/apps/codecs/wmapro.c
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-08-04 23:21:35 +0000
committerMohamed Tarek <mt@rockbox.org>2010-08-04 23:21:35 +0000
commit467451878726a3755eb3b2b472a3b33299cb9245 (patch)
tree378586c8598a8b08470c6bf59de64124888bf511 /apps/codecs/wmapro.c
parent2054ca8b98ba198d77203177da0164b52adf431d (diff)
downloadrockbox-467451878726a3755eb3b2b472a3b33299cb9245.tar.gz
rockbox-467451878726a3755eb3b2b472a3b33299cb9245.zip
Increase wmapro decoder output sample depth to 24 bits, makes the mean error between our output and the original floating point decoder ~5e-8. (FS#11498 by Buschel)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27703 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/wmapro.c')
-rw-r--r--apps/codecs/wmapro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/wmapro.c b/apps/codecs/wmapro.c
index 30e60e5716..75bbd24cda 100644
--- a/apps/codecs/wmapro.c
+++ b/apps/codecs/wmapro.c
@@ -44,7 +44,7 @@ enum codec_status codec_main(void)
44 int size; /* Size of the input frame to the decoder */ 44 int size; /* Size of the input frame to the decoder */
45 45
46 /* Generic codec initialisation */ 46 /* Generic codec initialisation */
47 ci->configure(DSP_SET_SAMPLE_DEPTH, WMAPRO_FRACT); 47 ci->configure(DSP_SET_SAMPLE_DEPTH, WMAPRO_DSP_SAMPLE_DEPTH);
48 48
49 49
50next_track: 50next_track: