mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
alsa-mixer: When selecting an input, turn off boosts of other inputs
Just like we turn off the "Front Mic" element when we select "Rear Mic", we should also turn off the "Front Mic Boost" element. And the same for the other inputs. Reported-by: Len Owens <len@ovenwerks.net> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
e58ee03878
commit
5905094889
6 changed files with 119 additions and 8 deletions
|
|
@ -78,4 +78,20 @@ volume = off
|
|||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Front Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Rear Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-input-mic.conf.common
|
||||
|
|
|
|||
|
|
@ -78,4 +78,20 @@ volume = off
|
|||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Dock Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Rear Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-input-mic.conf.common
|
||||
|
|
|
|||
|
|
@ -108,4 +108,20 @@ volume = off
|
|||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Dock Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Front Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Rear Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-input-mic.conf.common
|
||||
|
|
|
|||
|
|
@ -27,14 +27,6 @@ volume = merge
|
|||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Line Boost]
|
||||
required-any = any
|
||||
switch = mute
|
||||
|
|
@ -63,6 +55,45 @@ enumeration = select
|
|||
name = analog-input-linein
|
||||
required-any = any
|
||||
|
||||
[Element Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Dock Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Front Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Rear Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Dock Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Front Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Rear Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Aux]
|
||||
switch = off
|
||||
|
|
|
|||
|
|
@ -101,4 +101,20 @@ volume = off
|
|||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Dock Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Front Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Rear Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-input-mic.conf.common
|
||||
|
|
|
|||
|
|
@ -78,4 +78,20 @@ volume = off
|
|||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Dock Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Front Mic Boost]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-input-mic.conf.common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue