fxsound2 / fxsound-app

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

Audio output switches automatically to native device speakers. #125

Open vegam05 opened 3 months ago

vegam05 commented 3 months ago

Description The audio randomly stops playing on the connected Bluetooth device, and rather starts playing on the PC speaker itself, even after specifying the audio output device as Bluetooth one in the application, the issue persists.

To Reproduce Steps to reproduce the behavior:

  1. Start the FX audio application.
  2. Play any audio file while being connected to a bluetooth audio device.
  3. After a few seconds, the audio output will automatically switch from bluetooth device to native PC speakers(usually 20-25 seconds).

Expected Behavior I expected the music to continuously keep streaming on my bluetooth device, rather it streams on the native audio device after a while, i.e. my PC speakers.

System information

doolhoofd commented 3 months ago

Hi, Have you tried disabling automatic output device switching in the General tab of the Settings?

vegam05 commented 3 months ago

I just disabled the "automatically switch to newly connected output device" option and it seems to fix the issue, thanks for the help @doolhoofd . Nevertheless the issue should be addressed soon as why this option is behaving abnormally in the first place?

doolhoofd commented 3 months ago

Improving Bluetooth connectivity is one of our current top priorities. And if it were certain that the fault is only and entirely on the side of FxSound, then yes, it should be addressed. However, it is nearly impossible to tell if this is the case long-distance, blindly, from a single report.

vegam05 commented 3 months ago

I agree

doolhoofd commented 3 months ago

Thanks. To be fair, you aren't the only one with such a problem.

https://forum.fxsound.com/t/fxsound-changes-my-output-device-all-the-time-in-windows/2901/

stalker780 commented 2 days ago

@doolhoofd I also have problems with BT headphones. I usually use one of TWS plugs. When one's battery is down I switch them left/right. Each is a separate BT speaker in W11. In older versions the last connected device got active. But in 1.1.27.0 I need to select active speaker manually. And I remember there was an option to automatically switch between output devices. But I don't see it now.

If I choose preferred output, it works only for one of headphone plugs. Perhaps it makes sense to add a priority setting for devices? Which one of active outputs will be active if several are connected? I could set my R/L headphones first/second and built-in audio as third.

I will move back to an old fxSound version. 1.1.16 worked correctly as far as I can recall. Cause the last version cannot be used in my scenario.

doolhoofd commented 1 day ago

Perhaps it makes sense to add a priority setting for devices? Which one of active outputs will be active if several are connected? I could set my R/L headphones first/second and built-in audio as third.

That was the original idea, see: https://github.com/fxsound2/fxsound-app/issues/10 Please keep in mind that such code isn't built in a day. (I should probably also mention that this is not a promise.)