File: //proc/thread-self/root/usr/share/alsa/ucm2/codecs/hda/hdmi.conf
If.hdmi {
Condition {
Type ControlExists
Control "iface=CARD,name='HDMI/DP,pcm=${var:HdmiPCM} Jack'"
}
True {
SectionDevice."HDMI${var:HdmiNum}" {
Comment "HDMI / DisplayPort ${var:HdmiNum} Output"
EnableSequence [
cset "name='IEC958 Playback Switch',index=${var:HdmiCtlIndex} on"
]
DisableSequence [
cset "name='IEC958 Playback Switch',index=${var:HdmiCtlIndex} off"
]
Value {
PlaybackPriority "${var:HdmiPrio}"
PlaybackPCM "hw:${CardId},${var:HdmiPCM}"
JackControl "HDMI/DP,pcm=${var:HdmiPCM} Jack"
}
}
}
}