[Bug 30639] Audio stuttering and performance drops in Star Wolves 3

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 15 15:23:18 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=30639

--- Comment #45 from Alexander E. Patrakov <patrakov at gmail.com> ---
No, this will not allow resampling multiple streams simultaneously, as all the
resampling is currently done in the (single) mixer thread. Moving resampling
outside of the lock will still be beneficial, because it will allow other
threads (that presumably produce sound) to do useful work while the mixer
thread is resampling.

And please don't move resampling to some other thread that already exists --
the problem is that there is no reliable event to trigger it. E.g. some games
simply don't unlock their secondary buffers. Also, it is very hard to handle
the situation where a game writes some audio data to its secondary buffer
speculatively and then corrects it later, because the output also depends on
some data immediately preceding what was overwritten.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list