mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:05:42 +01:00
alsactl: init rules - fix HDA Conexact codec PCM initialization
This commit is contained in:
parent
8e0eb860ef
commit
42ae1e6f1b
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,7 @@ CTL{reset}="mixer"
|
|||
CTL{name}="PCM Playback Volume",PROGRAM!="__ctl_search",GOTO="pcm0_end"
|
||||
# exception - some HDA codecs have shifted dB range
|
||||
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{volume}",RESULT!="0",CTL{values}="75%"
|
||||
LABEL="pcm0_end"
|
||||
CTL{name}="PCM Playback Switch",PROGRAM=="__ctl_search", \
|
||||
|
@ -69,6 +70,7 @@ CTL{name}="PCM Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search", \
|
|||
GOTO="pcm1_end"
|
||||
# exception - some HDA codecs have shifted dB range
|
||||
CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm1_end"
|
||||
CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm1_end"
|
||||
CTL{values}="$env{volume}",RESULT!="0",CTL{values}="75%"
|
||||
LABEL="pcm1_end"
|
||||
CTL{name}="PCM Playback Switch",CTL{index}="1",PROGRAM=="__ctl_search", \
|
||||
|
|
Loading…
Reference in a new issue