You are not logged in.

#1 2016-01-25 21:31:18

89c51
Member
Registered: 2012-06-05
Posts: 741

Pulseaudio problem when connecting headphones.

Pulse audio loses sound -or rather sends it to spdif- after i unplug headphones. This started happening after the Pulse 8.0 update.

If i start my desktop the output section of the mixer reads Build in Audio Analog stereo and the menu gives Line out and Headphones options.
If i plug in my headphones -which is the way i listen to music- it (the output) automatically changes to Headphones.

However when i unplug the Build in Audio Analog stereo disappears a Build in digital Analog stereo appears with only the spdif option and no way to change it to analog.

Logging out and logging in again fixes it until i plug and unplug headphones again.

Any ideas on how to fix this are welcome.

Thanks in advance.

Offline

#2 2016-01-26 21:09:26

ColdPie
Member
Registered: 2007-09-18
Posts: 47

Re: Pulseaudio problem when connecting headphones.

I also have this problem. I haven't found a solution for preventing it from happening in the first place, but using the "pavucontrol" program, you can tweak the current outputs on the Configuration tab so you don't have to log out and back in. Change the SPIDF dropdown back to your analog device.

Last edited by ColdPie (2016-01-26 21:09:39)

Offline

#3 2016-01-26 21:15:15

ColdPie
Member
Registered: 2007-09-18
Posts: 47

Re: Pulseaudio problem when connecting headphones.

Update: if you disable the module-switch-on-port-available module in </etc/pulse/default.pa>, it won't switch away from your analog device when you unplug your headphones. It may prevent some desired auto-switching from working, though.

Last edited by ColdPie (2016-01-26 21:15:34)

Offline

#4 2016-01-27 15:21:03

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Pulseaudio problem when connecting headphones.

Good thing i am not alone (in the sense that more people are more likely to find a solution).

Do you know if this is something that has to be reported in the pulseaudio bug tracker or somewhere else?

Offline

#5 2016-01-27 15:35:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: Pulseaudio problem when connecting headphones.

This is the main feature of pulseaudio 8 so this might be worth a bug report that eventually the switching priorities can be tweaked.

Offline

#6 2016-01-31 15:46:30

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: Pulseaudio problem when connecting headphones.

Upstream bug and patch that most likely fixes it.

https://bugs.freedesktop.org/show_bug.cgi?id=93903

Offline

#7 2016-02-03 18:53:45

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,350

Re: Pulseaudio problem when connecting headphones.

My upstream bug may also be related: https://bugs.freedesktop.org/show_bug.cgi?id=93946


Mike C

Offline

Board footer

Powered by FluxBB