milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.67k stars 160 forks source link

Crash when disconnecting default system audio output device #331

Open parasyte opened 8 months ago

parasyte commented 8 months ago

I have wireless headphones, Bose QC35 II that I use as my default system audio output on Windows 11. I just noticed that if I start MilkyTracker while the headphones are connected and I turn them off or disconnect before closing MilkyTracker, it crashes.

milky crash

It's consistently reproducible but requires the audio device to be removed (as happens when disconnecting Bluetooth headphones). Just switching to a different device in Volume Mixer is not enough to trigger the crash.

It also does not crash when I start MilkyTracker while a persistent device is set to system output and the headphones are off. But in that case, MilkyTracker does not automatically switch to the headphones when connected.

BeeesWith3Es commented 3 months ago

+1 to this, I have Tozo G1 blue tooth earbuds and this happens to me exactly as described.