Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix AudioCommon::Mixer Buffer indices
This fix the 1h32 audio bug which outputs static sound after 1h32. The mixer is used for 32->48kHz resampling and as output buffer for the async audio backends. So this buffer was indiced by a writing and a reading pointer and the count of samples in it. As this is redundant and the sample count isn't accurate calculateable because of the interpolation, both indices gets out of sync. So after some time (~92min), this buffer overflows and return only garbage. thx @ moosehunter + delroth for debugging on this issue. You did the most work :-)
- Loading branch information
Showing
2 changed files
with
62 additions
and
39 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