1SectionVerb { 2 Value { 3 OutputDspName "speaker_eq" 4 MinBufferLevel "512" 5 FullySpecifiedUCM "1" 6 } 7 8 EnableSequence [ 9 cdev "hw:ROCKCHIPI2S" 10 11 cset "name='Left Speaker Mixer Left DAC Switch' on" 12 cset "name='Right Speaker Mixer Right DAC Switch' on" 13 cset "name='Headphone Left Switch' off" 14 cset "name='Headphone Right Switch' off" 15 cset "name='Digital EQ 3 Band Switch' off" 16 cset "name='Digital EQ 5 Band Switch' off" 17 cset "name='Digital EQ 7 Band Switch' off" 18 cset "name='Biquad Switch' off" 19 cset "name='Filter Mode' Music" 20 cset "name='ADC Oversampling Rate' 0" 21 22 cset "name='DMIC Mux' DMIC" 23 cset "name='MIC2 Mux' IN34" 24 cset "name='Right ADC Mixer MIC2 Switch' on" 25 cset "name='Left ADC Mixer MIC2 Switch' on" 26 cset "name='MIC2 Volume' 20" 27 cset "name='Headset Mic Switch' off" 28 cset "name='Int Mic Switch' on" 29 30 cset "name='ADCR Boost Volume' 4" 31 cset "name='ADCL Boost Volume' 4" 32 cset "name='ADCR Volume' 11" 33 cset "name='ADCL Volume' 11" 34 35 cset "name='Left Speaker Mixer Left DAC Switch' on" 36 cset "name='Right Speaker Mixer Right DAC Switch' on" 37 cset "name='Speaker Left Mixer Volume' 2" 38 cset "name='Speaker Right Mixer Volume' 2" 39 cset "name='Record Path DC Blocking' on" 40 cset "name='Playback Path DC Blocking' on" 41 42 cset "name='Speaker Left Switch' on" 43 cset "name='Speaker Right Switch' on" 44 cset "name='Speaker Switch' on" 45 ] 46 47 DisableSequence [ 48 ] 49} 50 51SectionDevice."Speaker".0 { 52 Value { 53 PlaybackPCM "hw:ROCKCHIPI2S,0" 54 MixerName "Speaker" 55 } 56 EnableSequence [ 57 cdev "hw:ROCKCHIPI2S" 58 59 cset "name='Speaker Switch' on" 60 ] 61 DisableSequence [ 62 cdev "hw:ROCKCHIPI2S" 63 64 cset "name='Speaker Switch' off" 65 ] 66} 67 68SectionDevice."Internal Mic".0 { 69 Value { 70 CapturePCM "hw:ROCKCHIPI2S,0" 71 MixerName "Int Mic" 72 } 73 EnableSequence [ 74 cdev "hw:ROCKCHIPI2S" 75 76 cset "name='Int Mic Switch' on" 77 ] 78 DisableSequence [ 79 cdev "hw:ROCKCHIPI2S" 80 81 cset "name='Int Mic Switch' off" 82 ] 83} 84 85SectionDevice."Headphone".0 { 86 Value { 87 PlaybackPCM "hw:ROCKCHIPI2S,0" 88 MixerName "Headphone" 89 JackType "gpio" 90 JackName "ROCKCHIP-I2S Headset Jack" 91 DspName "" 92 } 93 94 EnableSequence [ 95 cdev "hw:ROCKCHIPI2S" 96 97 cset "name='Speaker Switch' off" 98 cset "name='Headphone Switch' on" 99 cset "name='Headphone Left Switch' on" 100 cset "name='Headphone Right Switch' on" 101 ] 102 DisableSequence [ 103 cdev "hw:ROCKCHIPI2S" 104 105 cset "name='Headphone Left Switch' off" 106 cset "name='Headphone Right Switch' off" 107 cset "name='Headphone Switch' off" 108 cset "name='Speaker Switch' on" 109 ] 110} 111 112SectionDevice."Mic".0 { 113 Value { 114 CapturePCM "hw:ROCKCHIPI2S,0" 115 MixerName "Headset Mic" 116 JackType "gpio" 117 JackName "ROCKCHIP-I2S Headset Jack" 118 } 119 120 EnableSequence [ 121 cdev "hw:ROCKCHIPI2S" 122 123 cset "name='Int Mic Switch' off" 124 cset "name='DMIC Mux' ADC" 125 cset "name='Headset Mic Switch' on" 126 cset "name='Record Path DC Blocking' on" 127 ] 128 129 DisableSequence [ 130 cdev "hw:ROCKCHIPI2S" 131 132 cset "name='Headset Mic Switch' off" 133 cset "name='DMIC Mux' DMIC" 134 cset "name='Int Mic Switch' on" 135 cset "name='Record Path DC Blocking' off" 136 ] 137} 138