1SectionVerb { 2 Value { 3 MinBufferLevel "512" 4 } 5 6 EnableSequence [ 7 cset "name='Playback Path' 'OFF'" 8 cset "name='Capture MIC Path' 'MIC OFF'" 9 cset "name='Resume Path' 'ON'" 10 ] 11} 12 13SectionDevice."Speaker" { 14 Comment "Speaker" 15 16 ConflictingDevice [ 17 "Headphones" 18 ] 19 20 Value { 21 PlaybackPriority 100 22 PlaybackPCM "hw:${CardId}" 23 } 24 25 EnableSequence [ 26 cset "name='Playback Path' 'SPK'" 27 ] 28 29 DisableSequence [ 30 cset "name='Playback Path' 'OFF'" 31 ] 32} 33 34SectionDevice."Mic" { 35 Comment "Internal Microphone" 36 37 ConflictingDevice [ 38 "Headset" 39 ] 40 41 Value { 42 CapturePriority 100 43 CapturePCM "hw:${CardId}" 44 } 45 46 EnableSequence [ 47 cset "name='Capture MIC Path' 'Main Mic'" 48 ] 49 50 DisableSequence [ 51 cset "name='Capture MIC Path' 'Mic OFF'" 52 ] 53} 54 55SectionDevice."Headphones" { 56 Comment "Headphones" 57 58 ConflictingDevice [ 59 "Speaker" 60 ] 61 62 Value { 63 PlaybackPriority 200 64 PlaybackPCM "hw:${CardId}" 65 JackControl "Headphone Jack" 66 JackHWMute "Speaker" 67 } 68 69 EnableSequence [ 70 cset "name='Playback Path' 'HP'" 71 ] 72 DisableSequence [ 73 cset "name='Playback Path' 'OFF'" 74 ] 75} 76 77SectionDevice."Headset" { 78 Comment "Headset Microphone" 79 80 ConflictingDevice [ 81 "Mic" 82 ] 83 84 Value { 85 CapturePriority 200 86 CapturePCM "hw:${CardId}" 87 JackControl "Headset Mic Jack" 88 JackHWMute "Mic" 89 } 90 91 EnableSequence [ 92 cset "name='Capture MIC Path' 'Hands Free Mic'" 93 ] 94 95 DisableSequence [ 96 cset "name='Capture MIC Path' 'Mic OFF'" 97 ] 98} 99