alsactl: init/ca0106, init/hda - use CTL{values} instead CTL{value}

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2016-03-22 16:53:30 +01:00
parent 3ad94da0c8
commit c5b022e621
2 changed files with 31 additions and 31 deletions

View file

@ -1,23 +1,23 @@
# Configuration for CA0106 driver # Configuration for CA0106 driver
CTL{reset}="mixer" CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{value}="-20dB" CTL{name}="Master Playback Volume", CTL{values}="-20dB"
CTL{name}="Master Playback Switch", CTL{value}="on" CTL{name}="Master Playback Switch", CTL{values}="on"
CTL{name}="Analog Front Playback Volume", CTL{value}="0dB" CTL{name}="Analog Front Playback Volume", CTL{values}="0dB"
CTL{name}="Analog Front Playback Switch", CTL{value}="on" CTL{name}="Analog Front Playback Switch", CTL{values}="on"
CTL{name}="Analog Rear Playback Volume", CTL{value}="0dB" CTL{name}="Analog Rear Playback Volume", CTL{values}="0dB"
CTL{name}="Analog Rear Playback Switch", CTL{value}="on" CTL{name}="Analog Rear Playback Switch", CTL{values}="on"
CTL{name}="Analog Center/LFE Playback Volume", CTL{value}="0dB" CTL{name}="Analog Center/LFE Playback Volume", CTL{values}="0dB"
CTL{name}="Analog Center/LFE Playback Switch", CTL{value}="on" CTL{name}="Analog Center/LFE Playback Switch", CTL{values}="on"
CTL{name}="Analog Side Playback Volume", CTL{value}="0dB" CTL{name}="Analog Side Playback Volume", CTL{values}="0dB"
CTL{name}="Analog Side Playback Switch", CTL{value}="on" CTL{name}="Analog Side Playback Switch", CTL{values}="on"
CTL{name}="IEC958 Front Playback Volume", CTL{value}="0dB" CTL{name}="IEC958 Front Playback Volume", CTL{values}="0dB"
CTL{name}="IEC958 Rear Playback Volume", CTL{value}="0dB" CTL{name}="IEC958 Rear Playback Volume", CTL{values}="0dB"
CTL{name}="IEC958 Center/LFE Playback Volume", CTL{value}="0dB" CTL{name}="IEC958 Center/LFE Playback Volume", CTL{values}="0dB"
# capture # capture
CTL{name}="Analog Source Capture Enum", CTL{value}="Mic" CTL{name}="Analog Source Capture Enum", CTL{value}="Mic"
CTL{name}="Mic Capture Volume", CTL{value}="6dB" CTL{name}="Mic Capture Volume", CTL{values}="6dB"
CTL{name}="Shared Mic/Line in Capture Switch", CTL{value}="Mic in" CTL{name}="Shared Mic/Line in Capture Switch", CTL{values}="Mic in"
# some variants have also AC97 mixer # some variants have also AC97 mixer

View file

@ -11,29 +11,29 @@ RESULT="false", EXIT="return"
LABEL="Acer Travelmate 8100" LABEL="Acer Travelmate 8100"
# playback # playback
CTL{reset}="mixer" CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{value}="-21dB" CTL{name}="Master Playback Volume", CTL{values}="-21dB"
CTL{name}="Master Playback Switch", CTL{value}="on" CTL{name}="Master Playback Switch", CTL{values}="on"
CTL{name}="Headphone Playback Switch", CTL{value}="on,on" CTL{name}="Headphone Playback Switch", CTL{values}="on"
CTL{name}="Front Playback Volume", CTL{value}="-29dB,-29dB" CTL{name}="Front Playback Volume", CTL{values}="-29dB"
CTL{name}="Front Playback Switch", CTL{value}="on,on" CTL{name}="Front Playback Switch", CTL{values}="on"
CTL{name}="PCM Playback Volume", CTL{value}="0dB,0dB" CTL{name}="PCM Playback Volume", CTL{values}="0dB"
# capture # capture
CTL{name}="Input Source", CTL{value}="Mic" CTL{name}="Input Source", CTL{value}="Mic"
CTL{name}="Capture Volume", CTL{value}="20dB,20dB" CTL{name}="Capture Volume", CTL{values}="20dB"
CTL{name}="Capture Switch", CTL{value}="on,on" CTL{name}="Capture Switch", CTL{values}="on"
RESULT="true", EXIT="return" RESULT="true", EXIT="return"
LABEL="Lenovo T61" LABEL="Lenovo T61"
# playback # playback
CTL{reset}="mixer" CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{value}="-13.5dB" CTL{name}="Master Playback Volume", CTL{values}="-13.5dB"
CTL{name}="Master Playback Switch", CTL{value}="on" CTL{name}="Master Playback Switch", CTL{values}="on"
CTL{name}="Headphone Playback Switch", CTL{value}="on,on" CTL{name}="Headphone Playback Switch", CTL{values}="on"
CTL{name}="Speaker Playback Switch", CTL{value}="on,on" CTL{name}="Speaker Playback Switch", CTL{values}="on"
CTL{name}="PCM Playback Volume", CTL{value}="0dB,0dB" CTL{name}="PCM Playback Volume", CTL{values}="0dB"
# capture # capture
CTL{name}="Input Source", CTL{value}="Internal Mic" CTL{name}="Input Source", CTL{value}="Internal Mic"
CTL{name}="Internal Mic Boost", CTL{value}="1" CTL{name}="Internal Mic Boost", CTL{values}="1"
CTL{name}="Capture Volume", CTL{value}="9dB,9dB" CTL{name}="Capture Volume", CTL{values}="9dB"
CTL{name}="Capture Switch", CTL{value}="on,on" CTL{name}="Capture Switch", CTL{values}="on"
RESULT="true", EXIT="return" RESULT="true", EXIT="return"