fxsound2 / fxsound-app

FxSound application and DSP source code
GNU General Public License v3.0
1.73k stars 144 forks source link

FxSound keeps switching sound devices when idle #104

Open perigozin opened 7 months ago

perigozin commented 7 months ago

Describe the bug Whenever I leave my computer idle and come back to it FxSound has switched to another sound device. Usually I use headphones and I always keep it as the selected device but after a while if I'm not using my PC and then start playing sound again it have switched to my monitor speakers.

Also apparently I cannot select any other device in the Windows default selector, whenever I select another device it immediately switches back to the FxSound Speakers virtual device.

System information

doolhoofd commented 7 months ago

For your first issue, look here: https://github.com/fxsound2/fxsound-app/issues/37

For your second issue: the FxSound Speakers device needs to be set as the Default Device at all times in order to be able to process audio. That's just how it works. You can disable the FxSound Speakers device while not in use, or exit via the tray icon menu.

perigozin commented 7 months ago

Thanks, I'll try the suggested fixes and see if it works in the next hours/days.

perigozin commented 5 months ago

Unfortunately for the first issue I don't recognize a pattern for why it switches to my monitor speakers, when I have my headphones connected and selected all the time. My computer never sleeps (I have turned off any kind of stand-by and hibernation, my PC stays on 24/7) and I always have to select headphones again, usually when I leave the computer for a while.

Could it be because sometimes I turn the monitor off? But then I have automatic switching turned off in FxSound, so it shouldn't be the problem. Could it be because sometimes I lock my computer (Win + L)?

I have tried to simulate both actions multiple times but this issue never happens, only when "i'm not watching" in a way that seems kind of random.

doolhoofd commented 5 months ago

If you don't need and use your monitor speakers, the simplest solution here would be to go into your Windows Sound Settings and simply disable the related device (done via 'Don't allow' in Windows 11).

perigozin commented 5 months ago

Sometimes during the day I switch to the monitor or my actual speakers, the problem is sometimes I play something thinking I had headphones selected and it plays really loud at night, I have to constantly check if the correct device is selected. I wish the device I selected stayed the same until I select another one. Anyway, this is probably the normal behavior (?) or maybe something wrong in my end.

doolhoofd commented 5 months ago

If you have the option to automatically switch output devices (in the General tab of the Settings) turned off, then no, that is not the program's normal behavior.