summaryrefslogtreecommitdiff
path: root/apps/codecs/wmapro.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-29 22:18:04 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-29 22:18:04 +0000
commitaa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5 (patch)
treecff75c9a211b84890e16eee128cda84dba33727a /apps/codecs/wmapro.c
parente63e19b50773393064e7a458297b18a835e8b004 (diff)
downloadrockbox-aa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5.zip
rockbox-aa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5.tar.gz
rockbox-aa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5.tar.bz2
rockbox-aa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5.tar.xz
Maintenance and minor speedup of libwmapro. Comment unused arrays, fix comment, remove tabs and introduce WMAPRO_FRACT to wma.h to remove magic numbers. Swap operands of fixmul16-call for minor speedup on ARM (+1%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27617 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/wmapro.c')
-rw-r--r--apps/codecs/wmapro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/wmapro.c b/apps/codecs/wmapro.c
index c069e52..2820672 100644
--- a/apps/codecs/wmapro.c
+++ b/apps/codecs/wmapro.c
@@ -40,11 +40,11 @@ enum codec_status codec_main(void)
int packetlength = 0; /* Logical packet size (minus the header size) */
int outlen = 0; /* Number of bytes written to the output buffer */
int pktcnt = 0; /* Count of the packets played */
- uint8_t *data; /* Pointer to decoder input buffer */
- int size; /* Size of the input frame to the decoder */
+ uint8_t *data; /* Pointer to decoder input buffer */
+ int size; /* Size of the input frame to the decoder */
/* Generic codec initialisation */
- ci->configure(DSP_SET_SAMPLE_DEPTH, 17);
+ ci->configure(DSP_SET_SAMPLE_DEPTH, WMAPRO_FRACT);
next_track: