SectionVerb { EnableSequence [ # Disable all inputs / outputs cset "name='Speaker Switch' off" #cset "name='Headphone Switch' off" cset "name='Headphone Switch' on" cset "name='DAC Mono Mix Switch' off" cset "name='DAC Soft Ramp Switch' off" ] } SectionDevice."Mic" { Comment "Analog Microphone" ConflictingDevice [ "Headset" ] EnableSequence [ cset "name='Internal Mic Switch' on" cset "name='ADC PGA Gain Volume' 9" cset "name='ADC Capture Volume' 172" cset "name='Headset Mic Switch' on" cset "name='Digital Mic Mux' 'dmic disable'" cset "name='Differential Mux' 'lin2-rin2'" ] DisableSequence [ ] Value { CapturePriority 100 CapturePCM "hw:${CardId}" CaptureMixerElem "ADC PGA Gain" CaptureMasterElem "ADC" } } SectionDevice."Speaker" { Comment "Speaker" ConflictingDevice [ "Headphones" ] EnableSequence [ cset "name='Speaker Switch' on" cset "name='Headphone Playback Volume' 3,3" cset "name='Right Headphone Mixer Right DAC Switch' on" cset "name='Left Headphone Mixer Left DAC Switch' on" cset "name='DAC Playback Volume' 999,999" cset "name='Headphone Mixer Volume' 999,999" cset "name='Differential Mux' 'lin2-rin2'" ] DisableSequence [ cset "name='Speaker Switch' off" ] Value { PlaybackPriority 100 PlaybackPCM "hw:${CardId}" # The es8316 only has a HP-amp which is muxed to the speaker # or to the headpones output PlaybackMixerElem "Headphone Mixer" PlaybackMasterElem "DAC" } } SectionDevice."Headphones" { Comment "Headphones" ConflictingDevice [ "Speaker" ] EnableSequence [ cset "name='Headset Mic Switch' on" cset "name='Headphone Playback Volume' 3,3" cset "name='Right Headphone Mixer Right DAC Switch' on" cset "name='Left Headphone Mixer Left DAC Switch' on" cset "name='DAC Playback Volume' 999,999" cset "name='Headphone Mixer Volume' 999,999" cset "name='Differential Mux' 'lin1-rin1'" ] Value { PlaybackPriority 300 PlaybackPCM "hw:${CardId}" PlaybackMixerElem "Headphone Mixer" PlaybackMasterElem "DAC" JackControl "Headphone Jack" JackHWMute "Speaker" } } SectionDevice."Headset" { Comment "Headset" ConflictingDevice [ "Mic" ] EnableSequence [ cset "name='ADC PGA Gain Volume' 9" cset "name='ADC Capture Volume' 172" cset "name='Headset Mic Switch' on" cset "name='Digital Mic Mux' 'dmic disable'" cset "name='Internal Mic Switch' on" cset "name='Differential Mux' 'lin1-rin1'" ] DisableSequence [ ] Value { CapturePriority 300 CapturePCM "hw:${CardId}" CaptureMixerElem "ADC PGA Gain" CaptureMasterElem "ADC" JackControl "Headphone Jack" } } If.hdmi1 { Condition { Type String Empty "" } True { Define { HdmiNum 1 HdmiPCM 5 HdmiCtlIndex 0 HdmiPrio 500 } Include.hdmi1.File "/codecs/hda/hdmi.conf" } } If.hdmi2 { Condition { Type String Empty "" } True { Define { HdmiNum 2 HdmiPCM 6 HdmiCtlIndex 1 HdmiPrio 600 } Include.hdmi2.File "/codecs/hda/hdmi.conf" } } If.hdmi3 { Condition { Type String Empty "" } True { Define { HdmiNum 3 HdmiPCM 7 HdmiCtlIndex 2 HdmiPrio 700 } Include.hdmi3.File "/codecs/hda/hdmi.conf" } }