https://bugs.winehq.org/show_bug.cgi?id=51775
Bug ID: 51775 Summary: Axiom Verge 2 crashes on startup due to incomplete sapi implementation Product: Wine Version: 6.17 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: sapi Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
This game initializes sapi, even though it doesn't appear to use it at all.
It appears from the .NET backtrace, that speechsynthesizer.SetOutputTotDefaultAudioDevice is at fault.
After playing around, we can reproduce the crash in a C# application with the following lines
... System.Speech.Synthesis.SpeechSynthesizer synth = new SpeechSynthesizer(); synth.SetOutputToDefaultAudioDevice(); ...
Function SetOutputToDefaultAudioDevice, requires that basic iteration and a few registry values are in place.
https://bugs.winehq.org/show_bug.cgi?id=51775
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/sapi-iteration-t | |okens
https://bugs.winehq.org/show_bug.cgi?id=51775
Christopher Snowhill chris@kode54.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@kode54.net
--- Comment #1 from Christopher Snowhill chris@kode54.net --- This game added SAPI narration of all dialog to the accessibility features in the most recent update. That may be what you're seeing.
https://bugs.winehq.org/show_bug.cgi?id=51775
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a67b9e79615d6dd6133b38055d4 | |5b0296fd803af Resolution|--- |FIXED Status|STAGED |RESOLVED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- https://gitlab.winehq.org/wine/wine/-/commit/a67b9e79615d6dd6133b38055d45b02...
https://bugs.winehq.org/show_bug.cgi?id=51775
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.20.