alsactl/init: Add "Line Out" to list of outputs to initialize

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
David Henningsson 2015-01-12 16:48:38 +01:00 committed by Takashi Iwai
parent d522b45508
commit e1745a69fe

View file

@ -42,6 +42,16 @@ CTL{name}="Master Digital Playback Volume",CTL{do_search}=="1", \
CTL{name}="Master Digital Playback Switch",CTL{do_search}=="1", \
CTL{values}="on"
CTL{reset}="mixer"
CTL{name}="Line Out Playback Volume",PROGRAM!="__ctl_search",GOTO=""
# if master volume control is present, turn line out volume to max
ENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
ENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
LABEL=""
CTL{name}="Line Out Playback Switch",CTL{do_search}=="1", \
CTL{values}="on"
CTL{reset}="mixer"
CTL{name}="Front Playback Volume",PROGRAM!="__ctl_search",GOTO=""
# if master volume control is present, turn front volume to max