diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-14 02:53:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-14 02:53:50 +0100 |
commit | 48e0f6808bcc8e07622e4a45b3aabfc4679e9966 (patch) | |
tree | 6995a03416ab3d73ee4b36dfbd35943a716f42de /src/modules | |
parent | 93cb75d78ed82c40e525a8b30f1ead147ad35ead (diff) |
alsa: cover bass boost mixer element
http://pulseaudio.org/ticket/740
Diffstat (limited to 'src/modules')
-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] |