[Bug 46725] Sniper Elite 3 and Sniper Elite V2 crash when using FAudio

WineHQ Bugzilla wine-bugs at winehq.org
Thu Mar 19 14:18:31 CDT 2020


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

--- Comment #10 from Paul Gofman <gofmanp at gmail.com> ---
Created attachment 66678
  --> https://bugs.winehq.org/attachment.cgi?id=66678
Unit test

So I created a brief unit test which hopefully shows what is going wrong.

It looks like at least for an xapo on submix voice the maximum number of frames
depends on submix voice parameters. I can get different number of frames by
varying InputSampleRate parameter for CreateSubmixVoice(). It looks like the
maximum number of frames is 44100 / 100. I am not entirely sure there is no
some multiplier somewhere which can also influence that, I am not familiar with
this API.

The test shows another bug by the way. Windows allows creating xapo without
supporting IXAPOParameters interface (like in my test), Wine xaudio does not.

-- 
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