From c43629f08bc03cc1b169731236d96c11a6a81ac1 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Mon, 6 Aug 2007 23:34:28 +0000 Subject: use the full resolution we get from the WMA decoder and let the DSP code do the rest git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14224 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/wma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/wma.c') diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c index 7d9f3c81c6..bf11841451 100644 --- a/apps/codecs/wma.c +++ b/apps/codecs/wma.c @@ -27,7 +27,7 @@ CODEC_HEADER BLOCK_MAX_SIZE is 2048 (samples) and MAX_CHANNELS is 2. */ -static uint16_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS]; +static uint32_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS]; /* NOTE: WMADecodeContext is 120152 bytes (on x86) */ static WMADecodeContext wmadec; @@ -319,7 +319,7 @@ enum codec_status codec_main(void) ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); - ci->configure(DSP_SET_SAMPLE_DEPTH, 15); + ci->configure(DSP_SET_SAMPLE_DEPTH, 30); next_track: -- cgit v1.2.3