Files
server/usr/share/alsa/ucm2/sof-soundwire/rt715.conf
2026-01-07 20:52:11 +01:00

32 lines
648 B
Plaintext

# 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"
}
}