mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
alsa-mixer: Mark "Line HP Swap" as required-any
In the (theoretical) case that no other elements exists but "Line HP Swap", the presence of that element signals that there are headphone and line-out outputs, otherwise there would be nothing to swap.
This commit is contained in:
parent
293a1739e2
commit
610704d225
2 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ override-map.2 = all-left,all-right
|
||||||
|
|
||||||
[Element Line HP Swap]
|
[Element Line HP Swap]
|
||||||
switch = on
|
switch = on
|
||||||
|
required-any = any
|
||||||
|
|
||||||
; This profile path is intended to control the first headphones, not
|
; This profile path is intended to control the first headphones, not
|
||||||
; the second headphones. But it should not hurt if we leave the second
|
; the second headphones. But it should not hurt if we leave the second
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,7 @@ volume = off
|
||||||
|
|
||||||
[Element Line HP Swap]
|
[Element Line HP Swap]
|
||||||
switch = off
|
switch = off
|
||||||
|
required-any = any
|
||||||
|
|
||||||
; This profile path is intended to control the default output, not the
|
; This profile path is intended to control the default output, not the
|
||||||
; headphones. But it should not hurt if we leave the headphone jack
|
; headphones. But it should not hurt if we leave the headphone jack
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue