alsa-ucm-conf/ucm2/sof-soundwire/dmic.conf
Jaroslav Kysela 9fa70add76 sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-05-16 16:26:38 +02:00

22 lines
472 B
Text

SectionDevice."Mic" {
Comment "Digital Microphone"
Value {
CapturePriority 100
CapturePCM "hw:${CardId},${find-device:type=pcm,stream=capture,field=id,regex='DMIC '}"
If.chn {
Condition {
Type RegexMatch
Regex "[34]"
String "${var:Mics1}"
}
True {
CaptureChannels 4
}
}
CaptureMixerElem "Dmic0"
CaptureVolume "Dmic0 Capture Volume"
CaptureSwitch "Dmic0 Capture Switch"
CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json"
}
}