[pulseaudio-discuss] [PATCH] alsa-mixer: Add "CLFE" and "Bass Speaker" names

David Henningsson david.henningsson at canonical.com
Thu Nov 8 22:13:19 PST 2012


These are sometimes being used in the HDA driver and we should
support them.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---

This patch is fairly trivial, so will push to 3.0 on Monday unless anyone objects.

 .../mixer/paths/analog-output-speaker-always.conf  |   13 +++++++++++++
 .../alsa/mixer/paths/analog-output-speaker.conf    |   13 +++++++++++++
 src/modules/alsa/mixer/paths/analog-output.conf    |    6 ++++++
 3 files changed, 32 insertions(+)

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 ba4cd5c..14d67b0 100644
--- a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
@@ -124,4 +124,17 @@ volume = merge
 override-map.1 = lfe
 override-map.2 = lfe,lfe
 
+[Element Bass Speaker]
+switch = mute
+volume = merge
+override-map.1 = lfe
+override-map.2 = lfe,lfe
+required-any = any
+
+[Element CLFE]
+switch = mute
+volume = merge
+override-map.1 = all-center
+override-map.2 = all-center,lfe
+
 .include analog-output.conf.common
diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
index 7540315..a7e3c4c 100644
--- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
@@ -137,4 +137,17 @@ override-map.1 = lfe
 override-map.2 = lfe,lfe
 required-any = any
 
+[Element Bass Speaker]
+switch = mute
+volume = merge
+override-map.1 = lfe
+override-map.2 = lfe,lfe
+required-any = any
+
+[Element CLFE]
+switch = mute
+volume = merge
+override-map.1 = all-center
+override-map.2 = all-center,lfe
+
 .include analog-output.conf.common
diff --git a/src/modules/alsa/mixer/paths/analog-output.conf b/src/modules/alsa/mixer/paths/analog-output.conf
index 16dadc4..1b7482c 100644
--- a/src/modules/alsa/mixer/paths/analog-output.conf
+++ b/src/modules/alsa/mixer/paths/analog-output.conf
@@ -96,4 +96,10 @@ volume = merge
 override-map.1 = lfe
 override-map.2 = lfe,lfe
 
+[Element CLFE]
+switch = mute
+volume = merge
+override-map.1 = all-center
+override-map.2 = all-center,lfe
+
 .include analog-output.conf.common
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list