mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:35:42 +01:00
alsactl: init - fix default configuration for ENS1370
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0d3aeb9695
commit
bde1d198c1
1 changed files with 7 additions and 4 deletions
|
@ -68,7 +68,8 @@ CTL{name}="PC Speaker Playback Switch",PROGRAM=="__ctl_search", \
|
|||
CTL{values}="on"
|
||||
|
||||
CTL{reset}="mixer"
|
||||
CTL{name}="PCM Playback Volume",PROGRAM!="__ctl_search",GOTO="pcm0_end"
|
||||
CTL{name}="PCM Playback Volume",PROGRAM!="__ctl_search", \
|
||||
CTL{name}="PCM Volume",PROGRAM!="__ctl_search", GOTO="pcm0_end"
|
||||
# if master volume control is present, turn PCM volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm0_end"
|
||||
ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm0_end"
|
||||
|
@ -77,12 +78,12 @@ CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm0_end"
|
|||
CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm0_end"
|
||||
CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="75%"
|
||||
LABEL="pcm0_end"
|
||||
CTL{name}="PCM Playback Switch",PROGRAM=="__ctl_search", \
|
||||
CTL{values}="on"
|
||||
CTL{name}="PCM Playback Switch",PROGRAM=="__ctl_search", CTL{values}="on"
|
||||
CTL{name}="PCM Switch",PROGRAM=="__ctl_search",CTL{values}="on"
|
||||
|
||||
CTL{reset}="mixer"
|
||||
CTL{name}="PCM Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search", \
|
||||
GOTO="pcm1_end"
|
||||
CTL{name}="PCM Volume",PROGRAM!="__ctl_search",GOTO="pcm1_end"
|
||||
# if master volume control is present, turn PCM volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm1_end"
|
||||
ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm1_end"
|
||||
|
@ -93,6 +94,8 @@ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="75%"
|
|||
LABEL="pcm1_end"
|
||||
CTL{name}="PCM Playback Switch",CTL{index}="1",PROGRAM=="__ctl_search", \
|
||||
CTL{values}="on"
|
||||
CTL{name}="PCM Switch",CTL{index}="1",PROGRAM=="__ctl_search", \
|
||||
CTL{values}="on"
|
||||
|
||||
CTL{reset}="mixer"
|
||||
CTL{name}="DAC Playback Volume",PROGRAM=="__ctl_search", \
|
||||
|
|
Loading…
Reference in a new issue