File: //usr/share/alsa/ucm2/codecs/rt5672/DMIC1.conf
SectionDevice."Mic1" {
Comment "Internal Digital Microphone on DMIC1"
ConflictingDevice [
"Mic2"
"Headset"
]
EnableSequence [
cset "name='Int Mic Switch' on"
cset "name='Stereo1 DMIC Mux' DMIC1"
cset "name='Stereo1 ADC 2 Mux' DMIC"
cset "name='Sto1 ADC MIXL ADC2 Switch' on"
cset "name='Sto1 ADC MIXR ADC2 Switch' on"
]
DisableSequence [
cset "name='Int Mic Switch' off"
cset "name='Sto1 ADC MIXL ADC2 Switch' off"
cset "name='Sto1 ADC MIXR ADC2 Switch' off"
]
Value {
CapturePriority 100
CapturePCM "hw:${CardId}"
# The DMIC ofcourse has no analog volume controls
# Use the digital ADC master control as MixerElem
CaptureMixerElem "ADC"
CaptureVolume "ADC Capture Volume"
CaptureSwitch "ADC Capture Switch"
}
}