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.