forked from len0rd/rockbox
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
This commit is contained in:
parent
e63e19b507
commit
aa2fca384a
7 changed files with 17 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue