in theory ,you just need pulseaudio to mute line out playback switch
when headphone is plugged

and pulseaudio use line out playback volume when line out profile is
selected


index b6ee70b..a7a2140 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
@@ -68,6 +68,10 @@ override-map.2 = all-left,all-right
 switch = off
 volume = off
 
+[Element Line Out]
+switch = off
+
 [Element Speaker+LO]
 switch = off
 volume = off
diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf 
b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
index 68f444a..8e7a655 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -83,6 +83,12 @@ volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
+[Element Line Out]
+switch = mute
+volume = merge
+override-map.1 = all
+override-map.2 = all-left,all-right
+

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1436269

Title:
  When you select Analog Output or Speakers as port in Output Devices
  tab of pavucontrol, headphone levels are raised

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1436269/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to