When possible, it's better to use the codec volume and switch. The
firmware PGA is provided mostly for testing.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/180
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Comment "Headset Microphone"
EnableSequence [
- cset "name='PGA2.0 2 Master Capture Switch' 1"
+ cset "name='rt711 ADC 08 Capture Switch' 1"
]
DisableSequence [
- cset "name='PGA2.0 2 Master Capture Switch' 0"
+ cset "name='rt711 ADC 08 Capture Switch' 0"
]
Value {
CapturePriority 200
CapturePCM "hw:${CardId},1"
JackControl "Headset Mic Jack"
- CaptureSwitch "PGA2.0 2 Master Capture Switch"
- CaptureVolume "PGA2.0 2 Master Capture Volume"
+ CaptureSwitch "rt711 ADC 08 Capture Switch"
+ CaptureVolume "rt711 ADC 08 Capture Volume"
}
}