alsactl init: Initialize also "Master Front Playback Volume" & "Switch"

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2010-09-07 17:33:14 +02:00
parent 52bd2f8ace
commit ef919a4724

View file

@ -29,6 +29,13 @@ CTL{name}="Master Playback Volume",CTL{do_search}=="1", \
CTL{name}="Master Playback Switch",CTL{do_search}=="1", \ CTL{name}="Master Playback Switch",CTL{do_search}=="1", \
CTL{values}="on" CTL{values}="on"
CTL{reset}="mixer"
CTL{name}="Master Front Playback Volume",CTL{do_search}=="1", \
ENV{has_pmaster_vol}:="true", \
CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
CTL{name}="Master Front Playback Switch",CTL{do_search}=="1", \
CTL{values}="on"
CTL{reset}="mixer" CTL{reset}="mixer"
CTL{name}="Master Digital Playback Volume",CTL{do_search}=="1", \ CTL{name}="Master Digital Playback Volume",CTL{do_search}=="1", \
CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}" CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"