SectionVerb {
	EnableSequence [
		cset "name='Headphone Playback Volume' 0"
		cset "name='Headphone Mixer Volume' 100%"
		cset "name='DAC Playback Volume' 100%"
		cset "name='DAC Source Mux' LDATA TO LDAT, RDATA TO RDAC"
		cset "name='Left Headphone Mixer Left DAC Switch' on"
		cset "name='Left Headphone Mixer LLIN Switch' off"
		cset "name='Right Headphone Mixer Right DAC Switch' on"
		cset "name='Right Headphone Mixer RLIN Switch' off"
	]
	DisableSequence [
	]

	Value {
		PlaybackPCM "hw:${CardId},0"
		CapturePCM "hw:${CardId},0"
	}
}

SectionDevice."Speaker" {
	Comment "Internal speaker"
	EnableSequence [
		cset "name='Headphone Playback Volume' 0"
		cset "name='Headphone Mixer Volume' 100%"
		cset "name='Speaker Switch' on"
	]
	DisableSequence [
		cset "name='Speaker Switch' off"
	]
	Value {
		PlaybackVolume "DAC Playback Volume"
		PlaybackSwitch "Speaker Switch"
		PlaybackChannels 2
		PlaybackPriority 300
		PlaybackPCM "hw:${CardId},0"
	}
	ConflictingDevice [
		"Headphones"
	]
}
SectionDevice."Headphones" {
	Comment "Headset"
	EnableSequence [
		cset "name='Headphone Playback Volume' 50%"
		cset "name='Headphone Mixer Volume' 100%"
		cset "name='Speaker Switch' off"
	]
	DisableSequence [
	]
	Value {
		PlaybackVolume "DAC Playback Volume"
		PlaybackChannels 2
		PlaybackPriority 500
		PlaybackPCM "hw:${CardId},0"
		JackControl "Headphones Jack"
	}
	ConflictingDevice [
		"Speaker"
	]
}
