alsa: leave other headphone control enabled if possible

This commit is contained in:
Lennart Poettering 2009-10-31 03:42:42 +01:00
parent 591ade1aca
commit 73a4f4fdbc
5 changed files with 22 additions and 4 deletions

View file

@ -37,9 +37,12 @@ override-map.2 = all-left,all-right
switch = off
volume = off
; This profile path is intended to control the second headphones, not
; the first headphones. But it should not hurt if we leave the
; headphone jack enabled nonetheless.
[Element Headphone]
switch = off
volume = off
switch = mute
volume = zero
[Element Headphone2]
required = any

View file

@ -44,9 +44,12 @@ volume = merge
override-map.1 = all
override-map.2 = all-left,all-right
; This profile path is intended to control the first headphones, not
; the second headphones. But it should not hurt if we leave the second
; headphone jack enabled nonetheless.
[Element Headphone2]
switch = off
volume = off
switch = mute
volume = zero
[Element Speaker]
switch = off

View file

@ -48,6 +48,10 @@ override-map.2 = lfe,lfe
switch = mute
volume = zero
[Element Headphone2]
switch = mute
volume = zero
[Element Speaker]
switch = mute
volume = merge

View file

@ -45,6 +45,10 @@ override-map.2 = all-left,all-right
switch = mute
volume = zero
[Element Headphone2]
switch = mute
volume = zero
[Element Speaker]
switch = mute
volume = merge

View file

@ -44,6 +44,10 @@ volume = off
switch = mute
volume = zero
[Element Headphone2]
switch = mute
volume = zero
[Element Speaker]
switch = mute
volume = merge