Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/alsa/ucm2/sof-soundwire/ drwxr-xr-x | |
| Viewing file: Select action/file-type: # 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"
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0056 ]-- |