If.spk {
	Condition {
		Type String
		Haystack "${CardComponents}"
		Needle "cfg-spk:2"
	}
	True.Include.spk.File "/codecs/es8316/Speaker.conf"
}

If.mono {
	Condition {
		Type String
		Haystack "${CardComponents}"
		Needle "cfg-spk:1"
	}
	True.Include.mspk.File "/codecs/es8316/MonoSpeaker.conf"
}

Include.hs.File "/codecs/es8316/HeadPhones.conf"

If.in1 {
	Condition {
		Type String
		Haystack "${CardComponents}"
		Needle "cfg-mic:in1"
	}
	True {
		Include.mic.File "/codecs/es8316/IN1-InternalMic.conf"
		Include.hsmic.File "/codecs/es8316/IN2-HeadsetMic.conf"
	}
}

If.in2 {
	Condition {
		Type String
		Haystack "${CardComponents}"
		Needle "cfg-mic:in2"
	}
	True {
		Include.hsmic.File "/codecs/es8316/IN1-HeadsetMic.conf"
		Include.mic.File "/codecs/es8316/IN2-InternalMic.conf"
	}
}
