full "hardware" impl of mp2 for full speed

This commit is contained in:
minjaesong
2023-01-15 03:15:25 +09:00
parent ff01a49bc3
commit 6cb45f6d50
3 changed files with 382 additions and 76 deletions

View File

@@ -853,7 +853,6 @@ var kjmp2_decode_frame=function(mp2,fr,pcm,outL,outR) {
} // decoding of the granule finished
}
//;[pushSizeL, pushSizeR] = audio.mp2_synthesisLoop(read_samples, allocation, scalefactor, sblimit, mp2, sample, bound, outL, outR)
if (pushSizeL != pushSizeR && pushSizeR > 0) {
throw Error(`Push size mismatch -- U${pushSizeL} != R${pushSizeR}`)
}