[pulseaudio-discuss] [PATCH] alsa: Mute "Bass Speaker" when using headphones or lineout
David Henningsson
david.henningsson at canonical.com
Wed Jan 15 02:15:18 PST 2014
Makes sense - acked
2014-01-15 10:38, Tanu Kaskinen skrev:
> 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
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
More information about the pulseaudio-discuss
mailing list