alsa-ucm-conf/ucm2/sof-soundwire/rt715.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

31 lines
648 B
Text

# Use case Configuration for sof-soundwire card
If.hwctl {
Condition {
Type ControlExists
Control "name='rt715 Capture Volume'"
}
True.Define.rt715ctl "rt715 Capture"
False.Define.rt715ctl "PGA5.0 5 Master Capture"
}
SectionDevice."Mic" {
Comment "SoundWire microphones"
EnableSequence [
cset "name='${var:rt715ctl} Switch' 1"
]
DisableSequence [
cset "name='${var:rt715ctl} Switch' 0"
]
Value {
CapturePriority 100
CapturePCM "hw:${CardId},4"
CaptureSwitch "${var:rt715ctl} Switch"
CaptureVolume "${var:rt715ctl} Volume"
CaptureMixerElem "${var:rt715ctl}"
CaptureMicInfoFile "${var:LibDir}/dmics-nhlt.json"
}
}