バージョン
3.5-1591
ブランチ
master
投稿日時
5 年, 8 ヶ月前
Windows x64 Windows x86 Android Mac OS X
コミット
a1822a3acaf112dd37ed98818acdc0bc5014caba
投稿者
degasus
変更点
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 :-)