diff options
author | David Henningsson <david.henningsson@canonical.com> | 2015-01-13 11:28:16 +0100 |
---|---|---|
committer | David Henningsson <david.henningsson@canonical.com> | 2015-01-13 13:58:01 +0100 |
commit | 9d0a5b5cb7ea3adc1b548a6e1e953ee20835e6b6 (patch) | |
tree | 36e09f0a2d18b15d2bec8097aca022d36bc6aa1e | |
parent | f5c001af5ff4e1a7432f96674ed6ea7ff6b2be5a (diff) |
alsa-mixer: Mute headphones and speakers on line out path
When line out path is active, we want to mute speakers for obvious
reasons, and headphones to avoid volume spikes.
Reported-by: TienFu Chen <tienfu.chen@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-rw-r--r-- | src/modules/alsa/mixer/paths/analog-output-lineout.conf | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf index a110c26c7..16752a3b1 100644 --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf @@ -102,23 +102,22 @@ volume = off switch = off required-any = any -; This profile path is intended to control the default output, not the -; headphones. But it should not hurt if we leave the headphone jack -; enabled nonetheless. +; This profile path is intended to control line out, let's mute headphones +; else there will be a spike when plugging in headphones [Element Headphone] -switch = mute -volume = zero +switch = off +volume = off [Element Headphone2] -switch = mute -volume = zero +switch = off +volume = off [Element Speaker] -switch = mute +switch = off volume = off [Element Desktop Speaker] -switch = mute +switch = off volume = off [Element Front] |