Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /usr/share/alsa/ucm2/sof-soundwire/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/alsa/ucm2/sof-soundwire/rt1316-1.conf
# Use case Configuration for sof-soundwire card

SectionDevice."Speaker" {
	Comment	"Speaker"

	If.lrswitch {
		Condition {
			Type ControlExists
			Control "name='rt1316-1 DAC L Switch'"
		}
		True {
			EnableSequence [
				cset "name='rt1316-1 DAC L Switch' 1"
				cset "name='rt1316-1 DAC R Switch' 1"
				cset "name='Speaker Switch' on"
			]

			DisableSequence [
				cset "name='rt1316-1 DAC L Switch' 0"
				cset "name='rt1316-1 DAC R Switch' 0"
				cset "name='Speaker Switch' off"
			]
		}
		False {
			EnableSequence [
				cset "name='rt1316-1 DAC Switch' 1"
				cset "name='Speaker Switch' on"
			]

			DisableSequence [
				cset "name='rt1316-1 DAC Switch' 0"
				cset "name='Speaker Switch' off"
			]
		}
	}

	Value {
	      PlaybackPriority 100
	      PlaybackPCM "hw:${CardId},2"
	}
}

SAMX