[pulseaudio-discuss] [PATCH] alsa-mixer: Add "Line Out" to known mixer controls

David Henningsson david.henningsson at canonical.com
Wed May 20 23:28:11 PDT 2015


Reported-by: Raymond Yau <superquad.vortex2 at gmail.com>
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 src/modules/alsa/mixer/paths/analog-output-headphones-2.conf   | 4 ++++
 src/modules/alsa/mixer/paths/analog-output-headphones.conf     | 4 ++++
 src/modules/alsa/mixer/paths/analog-output-lineout.conf        | 6 ++++++
 src/modules/alsa/mixer/paths/analog-output-speaker-always.conf | 4 ++++
 src/modules/alsa/mixer/paths/analog-output-speaker.conf        | 4 ++++
 5 files changed, 22 insertions(+)

diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
index ddabf77..1028b93 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
@@ -47,6 +47,10 @@ volume = off
 switch = mute
 volume = zero
 
+[Element Line Out]
+switch = off
+volume = off
+
 [Element Headphone+LO]
 switch = mute
 volume = zero
diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
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
+volume = 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
+
 [Element Speaker+LO]
 switch = mute
 volume = merge
diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
index b6d9f94..101edd8 100644
--- a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
@@ -68,6 +68,10 @@ volume = zero
 switch = mute
 volume = zero
 
+[Element Line Out]
+switch = off
+volume = off
+
 [Element Headphone+LO]
 switch = off
 volume = off
diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
index 39193dd..e3b6c54 100644
--- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
@@ -84,6 +84,10 @@ volume = off
 switch = off
 volume = off
 
+[Element Line Out]
+switch = off
+volume = off
+
 [Element Speaker+LO]
 required-any = any
 switch = mute
-- 
1.9.1



More information about the pulseaudio-discuss mailing list