summaryrefslogtreecommitdiff
path: root/apps/codecs/wma.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2007-08-06 23:34:28 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2007-08-06 23:34:28 +0000
commitc43629f08bc03cc1b169731236d96c11a6a81ac1 (patch)
tree046592ddcb6c6200eecd172940d7bda67172133a /apps/codecs/wma.c
parent0ee44031f0b5ab7539886b43685b67b3a14159a1 (diff)
downloadrockbox-c43629f08bc03cc1b169731236d96c11a6a81ac1.tar.gz
rockbox-c43629f08bc03cc1b169731236d96c11a6a81ac1.zip
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
Diffstat (limited to 'apps/codecs/wma.c')
-rw-r--r--apps/codecs/wma.c4
1 files changed, 2 insertions, 2 deletions
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
27 BLOCK_MAX_SIZE is 2048 (samples) and MAX_CHANNELS is 2. 27 BLOCK_MAX_SIZE is 2048 (samples) and MAX_CHANNELS is 2.
28 */ 28 */
29 29
30static uint16_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS]; 30static uint32_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS];
31 31
32/* NOTE: WMADecodeContext is 120152 bytes (on x86) */ 32/* NOTE: WMADecodeContext is 120152 bytes (on x86) */
33static WMADecodeContext wmadec; 33static WMADecodeContext wmadec;
@@ -319,7 +319,7 @@ enum codec_status codec_main(void)
319 ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512); 319 ci->configure(CODEC_SET_FILEBUF_WATERMARK, 1024*512);
320 ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128); 320 ci->configure(CODEC_SET_FILEBUF_CHUNKSIZE, 1024*128);
321 321
322 ci->configure(DSP_SET_SAMPLE_DEPTH, 15); 322 ci->configure(DSP_SET_SAMPLE_DEPTH, 30);
323 323
324 next_track: 324 next_track:
325 325