forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WavImaAdpcmDecoder: More improvements to the decoder.
It appears that, whenever a malformed block is found, we should actually stop decoding. But since this can still mean that the decoder has decoded at least a partial frame of junk data, so we still remove a bit of its final size in those cases just to be sure. This further reduces the noise in case a malformed block is found, and doesn't seem to cut much into the decoded stream's sound, if at all.
- Loading branch information
1 parent
d59812f
commit 33509e4
Showing
2 changed files
with
28 additions
and
19 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
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