Page 1 of 1

[Donion] [1.1.107] Crash changing audio output

Posted: Fri May 24, 2024 9:38 pm
by hotcat
1. I clicked on Settings > Audio > Preferred Output (might be different because I play in a different language) from the main menu and changed my default from "Default Device" to my bluetooth headphones.

2. The game crashed with an error box. After reopening, I am met with the message "Couldn't initialize audio. Audio is now deactivated"

3. I expected the audio to be coming from my headphones.

4. Looks like it's happening sometimes. It is fixed after removing the bluetooth device.

Re: [Donion] [1.1.107] Crash changing audio output

Posted: Sat May 25, 2024 4:08 pm
by Donion
Hello,
I am aware of the crashing when an audio device initialization fails, which is what happens in your case. I will be fixing this.

As to why the initialization fails when selecting the bluetooth headphones, that's hard to say and mostly out of our control.
You say it's happening sometimes, do you mean that sometimes you're able to use (switch to) your headphones without problems?

Re: [Donion] [1.1.107] Crash changing audio output

Posted: Mon May 27, 2024 2:35 pm
by hotcat
By "sometimes" I mean that it doesn't work from the time frame when i change the audio device while Factorio is opened to when i remove that audio device. When I reconnected the device and then opened the game, it would work. Thank you

Re: [Donion] [1.1.107] Crash changing audio output

Posted: Thu May 30, 2024 11:51 am
by Donion
The crash is now fixed for the next release.
Thanks for the report.