87d3dde15a
The LSP feature in WMA requires that the noise table values be doubled verses when it is not used. Unfortunately, the previous code would double the same values every time a LSP file was decoded without first resetting them to their original values. Change the code to check if the values are already doubled, and then double/halve them as needed. This is still a bit ugly, in the future consider using the built in rockbox dither instead of a lookup table. Fixes playback when skipping back and forth between low and high bitrate WMA. Change-Id: I4c393092e4a789bc8f98d74274fe207400b9550e Reviewed-on: http://gerrit.rockbox.org/226 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com> Tested-by: Michael Giacomelli <giac2000@hotmail.com> |
||
---|---|---|
.. | ||
demac | ||
lib | ||
liba52 | ||
libalac | ||
libasap | ||
libasf | ||
libatrac | ||
libcook | ||
libfaad | ||
libffmpegFLAC | ||
libgme | ||
libm4a | ||
libmad | ||
libmusepack | ||
libpcm | ||
librm | ||
libspc | ||
libspeex | ||
libtremor | ||
libtta | ||
libwavpack | ||
libwma | ||
libwmapro | ||
libwmavoice | ||
a52.c | ||
a52_rm.c | ||
aac.c | ||
adx.c | ||
aiff.c | ||
aiff_enc.c | ||
alac.c | ||
ape.c | ||
asap.c | ||
atrac3_oma.c | ||
atrac3_rm.c | ||
au.c | ||
ay.c | ||
codec_crt0.c | ||
codecs.h | ||
codecs.make | ||
cook.c | ||
flac.c | ||
gbs.c | ||
hes.c | ||
kss.c | ||
mod.c | ||
mp3_enc.c | ||
mpa.c | ||
mpc.c | ||
nsf.c | ||
raac.c | ||
sgc.c | ||
shorten.c | ||
sid.c | ||
smaf.c | ||
SOURCES | ||
spc.c | ||
speex.c | ||
tta.c | ||
vgm.c | ||
vorbis.c | ||
vox.c | ||
wav.c | ||
wav64.c | ||
wav_enc.c | ||
wavpack.c | ||
wavpack_enc.c | ||
wma.c | ||
wmapro.c | ||
wmavoice.c |