HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/share/alsa/ucm2/sof-soundwire/rt715.conf
# 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}"
	}
}