From aa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 29 Jul 2010 22:18:04 +0000 Subject: 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 --- apps/codecs/wmapro.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/codecs/wmapro.c') 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: -- cgit v1.1