forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ImaAdpcmDecoder: Rework sample decode/predict, and finalize funcs
With this, the decodeSample() method should now be a pretty close match to cs.columbia's doc, also, since functions here won't be overriden or changed in any way during execution, mark them as final too. This commit also fixes an oversight where both inputIndex and outputIndex were converted to byte, whereas they should have been kept as int or else longer streams would overflow.
- Loading branch information
1 parent
c4a9665
commit a9235ca
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters