diff options
| author | Lennart Poettering <lennart@poettering.net> | 2010-01-14 02:53:50 +0100 | 
|---|---|---|
| committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-02-09 22:43:14 +0000 | 
| commit | 4315f277bcdb89d2e17c7bf9bd5ac0c2b9b3aa6e (patch) | |
| tree | f38374862115e85525de71f7eaa98031e7705b92 | |
| parent | 63ebd054644f009631e25ad68e93a70415cd0c0c (diff) | |
alsa: cover bass boost mixer element
http://pulseaudio.org/ticket/740
| -rw-r--r-- | src/modules/alsa/alsa-mixer.c | 2 | ||||
| -rw-r--r-- | src/modules/alsa/mixer/paths/analog-output.conf.common | 11 | 
2 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c index 8b13239c..8bbd1f5c 100644 --- a/src/modules/alsa/alsa-mixer.c +++ b/src/modules/alsa/alsa-mixer.c @@ -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") }      }; diff --git a/src/modules/alsa/mixer/paths/analog-output.conf.common b/src/modules/alsa/mixer/paths/analog-output.conf.common index fd7f0cfb..6131da5c 100644 --- a/src/modules/alsa/mixer/paths/analog-output.conf.common +++ b/src/modules/alsa/mixer/paths/analog-output.conf.common @@ -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]  | 
