SectionVerb {
	EnableSequence [
	]
}

SectionDevice."Speaker" {
	Comment "Internal speaker"

	EnableSequence [
		cset 'name="SPK SPK On" 1'
	]

	DisableSequence [
		cset 'name="SPK SPK On" 0'
	]

	Value {
		PlaybackPriority 101
		PlaybackPCM "hw:${CardId}"
	}
}

SectionDevice."Mic" {
	Comment "Internal microphone"

	EnableSequence [
		cset 'name="MIC1 MIC1 On" 1'
	]

	DisableSequence [
		cset 'name="MIC1 MIC1 On" 0'
	]

	Value {
		CapturePriority 100
		CapturePCM "hw:${CardId}"
	}
}

SectionDevice."Earpiece" {
	Comment "Earpiece"

	EnableSequence [
		cset 'name="EP EP On" 1'
		cset 'name="EP Mixer DACL Switch" 1'
		cset 'name="EP Mixer DACR Switch" 1'
	]

	DisableSequence [
		cset 'name="EP Mixer DACR Switch" 0'
		cset 'name="EP Mixer DACL Switch" 0'
		cset 'name="EP EP On" 0'
	]

	Value {
		PlaybackPriority 100
		PlaybackPCM "hw:${CardId}"
	}
}
