Crashes when changing or disconnecting audio devices.

Evangelion

Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Single
Operating System
Windows 10
Terraria Version
1.4.3.6
Controls Used
Keyboard/Mouse
When I connect some bluetooth audio devices (such as bluetooth headphones) while playing the vanilla version on my computer, I find that in-game sounds and music are still playing outside. But when I try to connect the bluetooth headset before the game starts and then disconnect after the game is loaded, the game becomes unresponsive and then crashes. There is another problem when the game is running with the bluetooth headset connected and the game does not crash though when the bluetooth headset is turned off or out of range when the computer is put into sleep mode and then wakes the computer again. But at this point any sound in the game won't play unless the game is restarted.
I think the problem is caused by locking the current audio output device when the game starts. By the way this problem has been fixed in the tModLoader version.
 

Attachments

  • 屏幕截图 2022-08-15 081157.png
    屏幕截图 2022-08-15 081157.png
    449.3 KB · Views: 100
Back
Top Bottom