alsa: cover bass boost mixer element
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Jan 2010 01:53:50 +0000 (02:53 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 9 Feb 2010 22:43:14 +0000 (22:43 +0000)
http://pulseaudio.org/ticket/740

src/modules/alsa/alsa-mixer.c
src/modules/alsa/mixer/paths/analog-output.conf.common

index 8b13239..8bbd1f5 100644 (file)
@@ -1713,6 +1713,8 @@ static int option_verify(pa_alsa_option *o) {
         { "input-boost-off",           N_("No Boost") },
         { "output-amplifier-on",       N_("Amplifier") },
         { "output-amplifier-off",      N_("No Amplifier") },
+        { "output-bass-boost-on",      N_("Bass Boost") },
+        { "output-bass-boost-off",     N_("No Bass Boost") },
         { "output-speaker",            N_("Speaker") },
         { "output-headphones",         N_("Headphones") }
     };
index fd7f0cf..6131da5 100644 (file)
@@ -110,6 +110,17 @@ priority = 10
 name = output-amplifier-off
 priority = 0
 
+[Element Bass Boost]
+switch = select
+
+[Option Bass Boost:on]
+name = output-bass-boost-on
+priority = 0
+
+[Option Bass Boost:off]
+name = output-bass-boost-off
+priority = 10
+
 ;;; 'Analog Output'
 
 [Element Analog Output]