summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wma.h
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/libwmapro/wma.h
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/libwmapro/wma.h')
-rw-r--r--apps/codecs/libwmapro/wma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/libwmapro/wma.h b/apps/codecs/libwmapro/wma.h
index 84abeb349b..6fa7b94724 100644
--- a/apps/codecs/libwmapro/wma.h
+++ b/apps/codecs/libwmapro/wma.h
@@ -26,6 +26,7 @@
26#include "ffmpeg_put_bits.h" 26#include "ffmpeg_put_bits.h"
27 27
28#define WMAPRO_FRACT (17) 28#define WMAPRO_FRACT (17)
29#define WMAPRO_DSP_SAMPLE_DEPTH (WMAPRO_FRACT + 8)
29 30
30/* size of blocks */ 31/* size of blocks */
31#define BLOCK_MIN_BITS 7 32#define BLOCK_MIN_BITS 7