alsactl: init - default - initialize also "Digital Input Source"

Set "Digital Input Source" to "Digital Mic 1" or "Mic" (fallback).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2009-11-12 08:54:25 +01:00
parent 1185611ac1
commit 87ee474b1d

View file

@ -186,10 +186,13 @@ CTL{name}="Capture Switch",CTL{do_search}=="1", \
CTL{values}="on" CTL{values}="on"
CTL{name}="Input Source",PROGRAM!="__ctl_search", GOTO="" CTL{name}="Input Source",PROGRAM!="__ctl_search", GOTO=""
CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", \ CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
GOTO=""
CTL{enums}=="*|Mic|*",CTL{values}="Mic" CTL{enums}=="*|Mic|*",CTL{values}="Mic"
LABEL="" LABEL=""
CTL{name}="Internal Mic Boost",CTL{do_search}=="1", \ CTL{name}="Digital Input Source",PROGRAM!="__ctl_search", GOTO=""
CTL{values}="on" CTL{enums}=="*|Digital Mic 1|*",CTL{values}="Digital Mic 1", GOTO=""
CTL{enums}=="*|Mic|*",CTL{values}="Mic"
LABEL=""
CTL{name}="Internal Mic Boost",CTL{do_search}=="1", CTL{values}="on"