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

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


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

--- Comment #21 from Paul Gofman <gofmanp at gmail.com> ---
(In reply to Ethan Lee from comment #20)
> I haven’t run it yet, it may be a while before I can - it sounds like the
> problem could manifest here as well?
> 
> https://github.com/FNA-XNA/FAudio/blob/master/src/FAudio.c#L1346

I am not sure I understand. I was not trying to discuss implementation, I just
tried to show what works differently on Windows in respect to the application
problem. Once again, what I see in test is that can set whatever freq I want
for submix voice and get the frame count in xapo on that voice of freq / 100.

I can only guess how it is implemented on Windows. My (rather wild) guess is
that Windows does not try to control input buffer lengths. Maybe it sticks to
that 10ms length (whatever number of samples there is for given frequency).
Accurate resample can't be done on buffer per buffer basis anyway, there will
be an edge effect (how would it interpolate the sample at the start of buffer
without having enough some samples before the current buffer start?). So I can
guess voices in graph might somehow manage the data in their input buffer
independently on their input voices buffers.

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