easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Connecting wireless headphones to Discord breaks audio

Open EmmanuelMess opened this issue 2 years ago • 8 comments

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

EmmanuelMess avatar Jun 08 '23 16:06 EmmanuelMess

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.

wwmm avatar Jun 08 '23 19:06 wwmm

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.

wwmm avatar Jun 08 '23 19:06 wwmm

pw-top image

(When I took that screenshot, all that I could hear was gibberish)

xdot salida.pdf

Another test: image

salida.pdf

EmmanuelMess avatar Jun 09 '23 21:06 EmmanuelMess

I think EasyEffects loses for a second the source and changes the default to something else (same issue as #2389).

EmmanuelMess avatar Jun 09 '23 21:06 EmmanuelMess

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.

wwmm avatar Jun 09 '23 22:06 wwmm

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.

wwmm avatar Jun 09 '23 22:06 wwmm

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 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.

EmmanuelMess avatar Jun 10 '23 03:06 EmmanuelMess

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.

EmmanuelMess avatar Jun 10 '23 03:06 EmmanuelMess