[PATCH] alsa: Mute "Bass Speaker" when using headphones or lineout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=73604
---
 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      | 4 ++++
 3 files changed, 12 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 7568924..74c467a 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
@@ -88,4 +88,8 @@ volume = off
 switch = off
 volume = off
 
+[Element Bass Speaker]
+switch = off
+volume = off
+
 .include analog-output.conf.common
diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
index b1a349a..89d794f 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
@@ -118,6 +118,10 @@ volume = off
 switch = off
 volume = off
 
+[Element Bass Speaker]
+switch = off
+volume = off
+
 [Element Speaker Front]
 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 3d0e7c2..d5e24b1 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -144,6 +144,10 @@ volume = merge
 override-map.1 = all-center
 override-map.2 = all-center,lfe
 
+[Element Bass Speaker]
+switch = off
+volume = off
+
 [Element Speaker Front]
 switch = off
 volume = off
-- 
1.8.3.1



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux