From ef919a4724169f4c0dc14168dec32c168b2471e4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 7 Sep 2010 17:33:14 +0200 Subject: [PATCH 15/38] alsactl init: Initialize also "Master Front Playback Volume" & "Switch" Signed-off-by: Jaroslav Kysela --- alsactl/init/default | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/alsactl/init/default b/alsactl/init/default index 9fd7972..7f8ec4c 100644 --- a/alsactl/init/default +++ b/alsactl/init/default @@ -30,6 +30,13 @@ CTL{name}="Master Playback Switch",CTL{do_search}=="1", \ 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{name}="Master Digital Playback Volume",CTL{do_search}=="1", \ CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}" CTL{name}="Master Digital Playback Switch",CTL{do_search}=="1", \ -- 1.7.3.1