# Usecase for device HDMI1/Display Port stereo playback on Intel SKYLAKE/KABYLAKE platforms

SectionDevice."HDMI1" {
	Comment "HDMI/Display Port 1 Stereo"

	Value {
		PlaybackPCM "hw:${CardId},4"
		PlaybackPriority 500
		If.1 {
			Condition {
				Type ControlExists
				Control "iface=CARD,name='HDMI/DP,pcm=4 Jack'"
			}
			True {
				JackControl "HDMI/DP,pcm=4 Jack"
			}
			False {
				JackControl "HDMI/DP, pcm=4 Jack"
			}
		}
	}
}

SectionDevice."HDMI2" {
	Comment "HDMI/Display Port 2 Stereo"

	Value {
		PlaybackPCM "hw:${CardId},5"
		PlaybackPriority 600
		If.1 {
			Condition {
				Type ControlExists
				Control "iface=CARD,name='HDMI/DP,pcm=5 Jack'"
			}
			True {
				JackControl "HDMI/DP,pcm=5 Jack"
			}
			False {
				JackControl "HDMI/DP, pcm=5 Jack"
			}
		}
	}
}
