https://bugs.winehq.org/show_bug.cgi?id=39471
--- Comment #15 from Andrew Eikum aeikum@codeweavers.com --- Created attachment 52610 --> https://bugs.winehq.org/attachment.cgi?id=52610 xaudio2: Don't render less than a period of audio
(In reply to fjfrackiewicz from comment #14)
Andrew, I have a question regarding the sound:
Would this still be considered a sound bug with OpenAL 1.15? The reason I ask is because when the game freezes, the music continues playing normally, it doesn't stutter or seem to do anything that would indicate a sound bug.
Asking out of curiosity.
Well, the backtrace in comment #1 indicates an xaudio issue. The fact that it's crashing inside of openal made me think of the 1.15 bug. It could definitely be a different problem, but this is the most likely one I can think of.
I've attached a patch here. Can you apply it and build Wine and see if it fixes the issue for you?