Connecting wireless headphones to Discord breaks audio
EasyEffects Version
7.0.3
What package are you using?
Flatpak (Flathub)
Distribution
Ubuntu 20.04
Describe the bug
When I connect the headphones as both input and output in Discord it breaks audio everywhere else.
Expected Behavior
I should work flawlessly.
Debug Log
Debug Log
Paste your log here
Additional Information
I always have an extension for 3.5mm jack connected to the back of the PC. Headphones are Sony wh-ch710n
May have the same cause as #2389. It feels more like a WirePlumber/PipeWire issue than an EasyEffects issue. Try to run pw-dot when the problem happens. Its output file can be viewed with the command xdot and will show what is happening to the links.
Also have in mind that Discord app is probably the champion when it comes to audio problems. I do not know what they are doing wrong there but the amount of problems related to their app is unbelievable.
It may also be worth to take a look at the output of pw-top to see if discord is not forcing pipewire to use an unreasonable latency value.
pw-top
(When I took that screenshot, all that I could hear was gibberish)
xdot salida.pdf
Another test:
I think EasyEffects loses for a second the source and changes the default to something else (same issue as #2389).
In the pw-dot output where you r bluetooth was the output I can see that your bluetooth device had only one channel. That is a condition I have never expected. I know some mics have 2 and others only one but I never considered the possibility of an output device having only one channel. So in this situation you will at least loose the info in one channel.
One workaround for this is putting the Stereo Tools plugin in the pipeline and converting the stereo to mono. But it is bizarre you had only one channel there.
I am also not sure if gnome settings should be spamming so many monitor streams. But as I usually use Pavucontrol and not it maybe it is normal.
One workaround for this is putting the
Stereo Toolsplugin in the pipeline and converting the stereo to mono. But it is bizarre you had only one channel there.
I already do this. My problem is not that the output is a single channel, it is that the audio becomes jumbled or cuts out entirely for everything that is not Discord.
One weird thing is that ubuntu shows the headphones both as "Handsfree - WH-CH710N" and "Headphones - WH-CH710N", but only shows it as microphone when "Handsfree - WH-CH710N" is selected. But EasyEffects only show it as WH-CH710N.
Discord only uses the headphones as microphone when it shows as "Handsfree - WH-CH710N" in Ubuntu.
When I change from "Handsfree - WH-CH710N" to "Headphones - WH-CH710N", the output in EasyEffects resets to something that is not WH-CH710N.