1
0
Fork 0
forked from len0rd/rockbox

Opps, fix mp3 decoding in the sim.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18559 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Giacomelli 2008-09-20 22:20:58 +00:00
parent ccd56bf220
commit 712931ca6e

View file

@ -1194,7 +1194,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
int p, sb; int p, sb;
unsigned int phase, ch, s; unsigned int phase, ch, s;
mad_fixed_t *pcm, (*filter)[2][2][16][8]; mad_fixed_t *pcm, (*filter)[2][2][16][8];
mad_fixed_t const (*sbsample)[36][32]; mad_fixed_t (*sbsample)[36][32];
mad_fixed_t (*fe)[8], (*fx)[8], (*fo)[8]; mad_fixed_t (*fe)[8], (*fx)[8], (*fo)[8];
mad_fixed_t const (*D0ptr)[32], *ptr; mad_fixed_t const (*D0ptr)[32], *ptr;
mad_fixed_t const (*D1ptr)[32]; mad_fixed_t const (*D1ptr)[32];
@ -1202,7 +1202,7 @@ void synth_full(struct mad_synth *synth, struct mad_frame const *frame,
mad_fixed64lo_t lo; mad_fixed64lo_t lo;
for (ch = 0; ch < nch; ++ch) { for (ch = 0; ch < nch; ++ch) {
sbsample = &frame->sbsample_prev[ch]; sbsample = &(*frame->sbsample_prev)[ch];
filter = &synth->filter[ch]; filter = &synth->filter[ch];
phase = synth->phase; phase = synth->phase;
pcm = synth->pcm.samples[ch]; pcm = synth->pcm.samples[ch];