SectionVerb {
	EnableSequence [
		cset 'name="AudioMixer SRC2 En" 1'
		cset 'name="AudioMixer CH2 Mixer En" 1'
		cset 'name="AudioMixer CH1 DOUT Select" 2'
		cset 'name="AudioMixer CH2 DOUT Select" 1'
		cset 'name="AudioMixer CH1 I2S Data Length" 0'
		cset 'name="AudioMixer CH1 XFS" 1'
		cset 'name="AudioMixer CH2 I2S Data Length" 0'
		cset 'name="AudioMixer CH2 XFS" 0'
		cset 'name="SPK SPK On" 0'
		cset 'name="EP EP On" 1'
		cset 'name="EP Mixer DACL Switch" 1'
		cset 'name="EP Mixer DACR Switch" 1'
		cset "name='MIC1 MIC1 On' 1"
		cset "name='ADCR Mixer MIC1R Switch' 1"
		cset "name='ADCL Mixer MIC1L Switch' 1"
	]
	DisableSequence [
		cset 'name="EP Mixer DACR Switch" 0'
		cset 'name="EP Mixer DACL Switch" 0'
		cset 'name="EP EP On" 0'
		cset 'name="SPK SPK On" 1'
		cset 'name="AudioMixer CH2 DOUT Select" 0'
		cset 'name="AudioMixer CH1 DOUT Select" 1'
		cset 'name="AudioMixer CH2 Mixer En" 0'
		cset 'name="AudioMixer SRC2 En" 0'
		cset "name='MIC1 MIC1 On' 0"
		cset "name='ADCR Mixer MIC1R Switch' 0"
		cset "name='ADCL Mixer MIC1L Switch' 0"
	]
}

SectionDevice."Speaker" {
	Comment "Internal speaker"

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

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

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

SectionDevice."Mic" {
	Comment "Internal microphone"

	EnableSequence [
		cset "name='MIC1 MIC1 On' 1"
		cset "name='ADCR Mixer MIC1R Switch' 1"
		cset "name='ADCL Mixer MIC1L Switch' 1"
	]

	DisableSequence [
		cset "name='MIC1 MIC1 On' 0"
		cset "name='ADCR Mixer MIC1R Switch' 0"
		cset "name='ADCL Mixer MIC1L Switch' 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 101
		PlaybackPCM "hw:${CardId}"
	}
}
