mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 03:45:44 +01:00
alsactl init: Handle "Capture Source" and "Mic Boost" in the default script
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0fea2452cb
commit
52bd2f8ace
1 changed files with 6 additions and 0 deletions
|
@ -185,6 +185,11 @@ CTL{name}="Capture Volume",CTL{do_search}=="1", \
|
|||
CTL{name}="Capture Switch",CTL{do_search}=="1", \
|
||||
CTL{values}="on"
|
||||
|
||||
CTL{name}="Capture Source",PROGRAM!="__ctl_search", GOTO=""
|
||||
CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
|
||||
CTL{enums}=="*|Mic|*",CTL{values}="Mic"
|
||||
LABEL=""
|
||||
|
||||
CTL{name}="Input Source",PROGRAM!="__ctl_search", GOTO=""
|
||||
CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
|
||||
CTL{enums}=="*|Mic|*",CTL{values}="Mic"
|
||||
|
@ -195,4 +200,5 @@ CTL{enums}=="*|Digital Mic 1|*",CTL{values}="Digital Mic 1", GOTO=""
|
|||
CTL{enums}=="*|Mic|*",CTL{values}="Mic"
|
||||
LABEL=""
|
||||
|
||||
CTL{name}="Mic Boost",CTL{do_search}=="1", CTL{values}="on"
|
||||
CTL{name}="Internal Mic Boost",CTL{do_search}=="1", CTL{values}="on"
|
||||
|
|
Loading…
Reference in a new issue