[alsa-devel] [PATCH 1/2] alsactl/init: Change the "basic rules" description

We now enable more outputs than just the main speaker, so update the basic rules to reflect the actual situation.
Signed-off-by: David Henningsson david.henningsson@canonical.com --- alsactl/init/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alsactl/init/default b/alsactl/init/default index 5fb0113..64f933f 100644 --- a/alsactl/init/default +++ b/alsactl/init/default @@ -3,7 +3,7 @@ # # Basic rules are: # - keep volumes at minimal level, but sound should be hearable -# - enable just main speakers for playback and main microphone for recording +# - enable standard outputs for playback and main microphone for recording #
# **************************************************************************

Signed-off-by: David Henningsson david.henningsson@canonical.com --- alsactl/init/default | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/alsactl/init/default b/alsactl/init/default index 64f933f..1c84f3e 100644 --- a/alsactl/init/default +++ b/alsactl/init/default @@ -43,6 +43,16 @@ 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 ENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""

At Mon, 12 Jan 2015 16:48:37 +0100, David Henningsson wrote:
We now enable more outputs than just the main speaker, so update the basic rules to reflect the actual situation.
Signed-off-by: David Henningsson david.henningsson@canonical.com
Thanks, applied both patches.
Takashi
alsactl/init/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alsactl/init/default b/alsactl/init/default index 5fb0113..64f933f 100644 --- a/alsactl/init/default +++ b/alsactl/init/default @@ -3,7 +3,7 @@ # # Basic rules are: # - keep volumes at minimal level, but sound should be hearable -# - enable just main speakers for playback and main microphone for recording +# - enable standard outputs for playback and main microphone for recording #
# **************************************************************************
1.9.1
participants (2)
-
David Henningsson
-
Takashi Iwai