1
0
Fork 0
forked from len0rd/rockbox

Fix audio corruption when sequentially playing low bitrate WMA files

for real this time.  Also, use English grammar.

Change-Id: I1f2156afa313280deb02b58a191511699671a761
This commit is contained in:
Michael Giacomelli 2012-05-01 02:01:06 -04:00
parent b4eec0dd42
commit 0dd200b33a

View file

@ -495,7 +495,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
s->noise_mult = 0x51f;
/*unlikely, but we may have previoiusly used this table for LSP,
so halve the values if needed*/
if(noisetable_exp[0] == 0x10) {
if(noisetable_exp[0] == 0x0a) {
for (i=0;i<NOISE_TAB_SIZE;++i)
noisetable_exp[i] >>= 1;
}