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:
parent
b4eec0dd42
commit
0dd200b33a
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
|
||||||
s->noise_mult = 0x51f;
|
s->noise_mult = 0x51f;
|
||||||
/*unlikely, but we may have previoiusly used this table for LSP,
|
/*unlikely, but we may have previoiusly used this table for LSP,
|
||||||
so halve the values if needed*/
|
so halve the values if needed*/
|
||||||
if(noisetable_exp[0] == 0x10) {
|
if(noisetable_exp[0] == 0x0a) {
|
||||||
for (i=0;i<NOISE_TAB_SIZE;++i)
|
for (i=0;i<NOISE_TAB_SIZE;++i)
|
||||||
noisetable_exp[i] >>= 1;
|
noisetable_exp[i] >>= 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue