SectionDevice."HDMI" { Comment "HDMI output" Value { PlaybackPriority 100 PlaybackChannels 2 PlaybackPCM "hw:${CardId},1" } } SectionDevice."Speaker" { Comment "Lineout speaker" ConflictingDevice [ "Headphones" ] EnableSequence [ cset "name='Headphone Left Source' Open" cset "name='Headphone Right Source' Open" cset "name='Line Out Source' Playback" ] Value { PlaybackPriority 200 PlaybackChannels 2 PlaybackPCM "hw:${CardId},${var:PlayDevN}" } } SectionDevice."Headphones" { Comment "Earphone speaker" ConflictingDevice [ "Speaker" ] EnableSequence [ cset "name='Headphone Left Source' DAC" cset "name='Headphone Right Source' DAC" cset "name='Line Out Source' Open" ] Value { PlaybackPriority 300 PlaybackChannels 2 PlaybackPCM "hw:${CardId},${var:PlayDevN}" } } SectionDevice."Headset" { Comment "Earphone microphone" ConflictingDevice [ "Mic1" ] EnableSequence [ cset "name='PGA L Mux' AIN1" cset "name='PGA R Mux' AIN1" ] Value { CapturePriority 300 CaptureChannels "${var:CapChanN}" CapturePCM "hw:${CardId},${var:CapDevN}" } } SectionDevice."Mic1" { Comment "Analog microphone" ConflictingDevice [ "Headset" ] EnableSequence [ cset "name='PGA L Mux' AIN0" cset "name='PGA R Mux' AIN0" ] Value { CapturePriority 200 CaptureChannels "${var:CapChanN}" CapturePCM "hw:${CardId},${var:CapDevN}" } } SectionDevice."Mic2" { Comment "Digital microphone" Value { CapturePriority 100 CaptureChannels 2 CapturePCM "hw:${CardId},3" } }