From c5b022e6217614f26a8d37fc8ab623f27b536562 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 22 Mar 2016 16:53:30 +0100 Subject: [PATCH] alsactl: init/ca0106, init/hda - use CTL{values} instead CTL{value} Signed-off-by: Jaroslav Kysela --- alsactl/init/ca0106 | 30 +++++++++++++++--------------- alsactl/init/hda | 32 ++++++++++++++++---------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/alsactl/init/ca0106 b/alsactl/init/ca0106 index 7afd4df..45fc833 100644 --- a/alsactl/init/ca0106 +++ b/alsactl/init/ca0106 @@ -1,23 +1,23 @@ # Configuration for CA0106 driver CTL{reset}="mixer" -CTL{name}="Master Playback Volume", CTL{value}="-20dB" -CTL{name}="Master Playback Switch", CTL{value}="on" -CTL{name}="Analog Front Playback Volume", CTL{value}="0dB" -CTL{name}="Analog Front Playback Switch", CTL{value}="on" -CTL{name}="Analog Rear Playback Volume", CTL{value}="0dB" -CTL{name}="Analog Rear Playback Switch", CTL{value}="on" -CTL{name}="Analog Center/LFE Playback Volume", CTL{value}="0dB" -CTL{name}="Analog Center/LFE Playback Switch", CTL{value}="on" -CTL{name}="Analog Side Playback Volume", CTL{value}="0dB" -CTL{name}="Analog Side Playback Switch", CTL{value}="on" -CTL{name}="IEC958 Front Playback Volume", CTL{value}="0dB" -CTL{name}="IEC958 Rear Playback Volume", CTL{value}="0dB" -CTL{name}="IEC958 Center/LFE Playback Volume", CTL{value}="0dB" +CTL{name}="Master Playback Volume", CTL{values}="-20dB" +CTL{name}="Master Playback Switch", CTL{values}="on" +CTL{name}="Analog Front Playback Volume", CTL{values}="0dB" +CTL{name}="Analog Front Playback Switch", CTL{values}="on" +CTL{name}="Analog Rear Playback Volume", CTL{values}="0dB" +CTL{name}="Analog Rear Playback Switch", CTL{values}="on" +CTL{name}="Analog Center/LFE Playback Volume", CTL{values}="0dB" +CTL{name}="Analog Center/LFE Playback Switch", CTL{values}="on" +CTL{name}="Analog Side Playback Volume", CTL{values}="0dB" +CTL{name}="Analog Side Playback Switch", CTL{values}="on" +CTL{name}="IEC958 Front Playback Volume", CTL{values}="0dB" +CTL{name}="IEC958 Rear Playback Volume", CTL{values}="0dB" +CTL{name}="IEC958 Center/LFE Playback Volume", CTL{values}="0dB" # capture CTL{name}="Analog Source Capture Enum", CTL{value}="Mic" -CTL{name}="Mic Capture Volume", CTL{value}="6dB" -CTL{name}="Shared Mic/Line in Capture Switch", CTL{value}="Mic in" +CTL{name}="Mic Capture Volume", CTL{values}="6dB" +CTL{name}="Shared Mic/Line in Capture Switch", CTL{values}="Mic in" # some variants have also AC97 mixer diff --git a/alsactl/init/hda b/alsactl/init/hda index a6919f1..7581095 100644 --- a/alsactl/init/hda +++ b/alsactl/init/hda @@ -11,29 +11,29 @@ RESULT="false", EXIT="return" LABEL="Acer Travelmate 8100" # playback CTL{reset}="mixer" -CTL{name}="Master Playback Volume", CTL{value}="-21dB" -CTL{name}="Master Playback Switch", CTL{value}="on" -CTL{name}="Headphone Playback Switch", CTL{value}="on,on" -CTL{name}="Front Playback Volume", CTL{value}="-29dB,-29dB" -CTL{name}="Front Playback Switch", CTL{value}="on,on" -CTL{name}="PCM Playback Volume", CTL{value}="0dB,0dB" +CTL{name}="Master Playback Volume", CTL{values}="-21dB" +CTL{name}="Master Playback Switch", CTL{values}="on" +CTL{name}="Headphone Playback Switch", CTL{values}="on" +CTL{name}="Front Playback Volume", CTL{values}="-29dB" +CTL{name}="Front Playback Switch", CTL{values}="on" +CTL{name}="PCM Playback Volume", CTL{values}="0dB" # capture CTL{name}="Input Source", CTL{value}="Mic" -CTL{name}="Capture Volume", CTL{value}="20dB,20dB" -CTL{name}="Capture Switch", CTL{value}="on,on" +CTL{name}="Capture Volume", CTL{values}="20dB" +CTL{name}="Capture Switch", CTL{values}="on" RESULT="true", EXIT="return" LABEL="Lenovo T61" # playback CTL{reset}="mixer" -CTL{name}="Master Playback Volume", CTL{value}="-13.5dB" -CTL{name}="Master Playback Switch", CTL{value}="on" -CTL{name}="Headphone Playback Switch", CTL{value}="on,on" -CTL{name}="Speaker Playback Switch", CTL{value}="on,on" -CTL{name}="PCM Playback Volume", CTL{value}="0dB,0dB" +CTL{name}="Master Playback Volume", CTL{values}="-13.5dB" +CTL{name}="Master Playback Switch", CTL{values}="on" +CTL{name}="Headphone Playback Switch", CTL{values}="on" +CTL{name}="Speaker Playback Switch", CTL{values}="on" +CTL{name}="PCM Playback Volume", CTL{values}="0dB" # capture CTL{name}="Input Source", CTL{value}="Internal Mic" -CTL{name}="Internal Mic Boost", CTL{value}="1" -CTL{name}="Capture Volume", CTL{value}="9dB,9dB" -CTL{name}="Capture Switch", CTL{value}="on,on" +CTL{name}="Internal Mic Boost", CTL{values}="1" +CTL{name}="Capture Volume", CTL{values}="9dB" +CTL{name}="Capture Switch", CTL{values}="on" RESULT="true", EXIT="return"