-Syntax 6
+Syntax 7
Include.card-init.File "/lib/card-init.conf"
Include.hdmi-pcm.File "/common/pcm/hdmi.conf"
-If.Hdmi3-iec61937 {
- Condition {
- Type RegexMatch
- Regex "((^|,)[3](,|$))"
- String "${var:Iec61937Pcms1}"
- }
- True.Macro.hdmi3.HdmiPCM { Device 3 Index 0 }
-}
-
-If.Hdmi4-iec61937 {
- Condition {
- Type RegexMatch
- Regex "((^|,)[4](,|$))"
- String "${var:Iec61937Pcms1}"
- }
- True.Macro.hdmi4.HdmiPCM { Device 4 Index 1 }
-}
-
-If.Hdmi5-iec61937 {
- Condition {
- Type RegexMatch
- Regex "((^|,)[5](,|$))"
- String "${var:Iec61937Pcms1}"
- }
- True.Macro.hdmi5.HdmiPCM { Device 5 Index 2 }
-}
+Macro.0.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 3 Idx 0 }
+Macro.1.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 4 Idx 1 }
+Macro.2.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 5 Idx 2 }
If.HdmiIec61937 {
Condition {