1<mixer> 2 <!-- These are the initial mixer settings --> 3 <ctl name="DAC1R Mixer AIF1.1 Switch" value="0" /> 4 <ctl name="DAC1L Mixer AIF1.1 Switch" value="0" /> 5 <ctl name="DAC1 Switch" value="0" /> 6 <ctl name="DAC2 Switch" value="0" /> 7 <ctl name="AIF1DRC1 Mode" value="Default" /> 8 <ctl name="AIF1DAC1 DRC Switch" value="0" /> 9 10 <ctl name="Speaker Switch" value="0" /> 11 <ctl name="SPKR DAC1 Switch" value="0" /> 12 <ctl name="SPKL DAC1 Switch" value="0" /> 13 <ctl name="Speaker Mixer Volume" value="0" /> 14 15 <ctl name="Headphone Switch" value="0" /> 16 <ctl name="Right Headphone Mux" value="DAC" /> 17 <ctl name="Left Headphone Mux" value="DAC" /> 18 <ctl name="Left Output Mixer DAC Switch" value="0" /> 19 <ctl name="Right Output Mixer DAC Switch" value="0" /> 20 21 <ctl name="MIXINL IN1L Switch" value="0" /> 22 <ctl name="IN1L Switch" value="0" /> 23 <ctl name="IN1L PGA IN1LP Switch" value="0" /> 24 <ctl name="IN1L PGA IN1LN Switch" value="1" /> 25 26 <ctl name="MIXINL IN2L Switch" value="0" /> 27 <ctl name="IN2L Switch" value="0" /> 28 <ctl name="IN2L PGA IN2LP Switch" value="0" /> 29 <ctl name="IN2L PGA IN2LN Switch" value="1" /> 30 31 <ctl name="MIXINR IN1R Switch" value="0" /> 32 <ctl name="IN1R Switch" value="0" /> 33 <ctl name="IN1R PGA IN1RP Switch" value="0" /> 34 <ctl name="IN1R PGA IN1RN Switch" value="1" /> 35 36 <ctl name="MIXINR IN2R Switch" value="0" /> 37 <ctl name="IN2R Switch" value="0" /> 38 <ctl name="IN2R PGA IN2RP Switch" value="0" /> 39 <ctl name="IN2R PGA IN2RN Switch" value="1" /> 40 41 <ctl name="AIF2DACL Mux" value="AIF3" /> 42 <ctl name="AIF2DACR Mux" value="AIF3" /> 43 <ctl name="AIF2DAC Mux" value="AIF3DACDAT" /> 44 <ctl name="AIF3ADC Mux" value="AIF2ADCDAT" /> 45 46 <ctl name="AIF1ADC1L Mixer AIF2 Switch" value="0" /> 47 <ctl name="AIF1ADC1R Mixer AIF2 Switch" value="0" /> 48 <ctl name="AIF1ADC2L Mixer AIF2 Switch" value="0" /> 49 <ctl name="AIF1ADC2R Mixer AIF2 Switch" value="0" /> 50 <ctl name="AIF1ADC1L Mixer ADC/DMIC Switch" value="0" /> 51 <ctl name="AIF1ADC1R Mixer ADC/DMIC Switch" value="0" /> 52 53 <!-- These are commonly used control sequences --> 54 <path name="dac1"> 55 <ctl name="DAC1R Mixer AIF1.1 Switch" value="1" /> 56 <ctl name="DAC1L Mixer AIF1.1 Switch" value="1" /> 57 <ctl name="DAC1 Switch" value="1" /> 58 </path> 59 60 <path name="dac2"> 61 <ctl name="AIF2DAC2L Mixer AIF1.1 Switch" value="1" /> 62 <ctl name="AIF2DAC2R Mixer AIF1.1 Switch" value="1" /> 63 <ctl name="DAC2 Switch" value="1" /> 64 </path> 65 66 <path name="eq-speaker"> 67 <ctl name="AIF1DAC1 EQ Switch" value="1" /> 68 <ctl name="AIF1DAC1 EQ1 Volume" value="3" /> 69 <ctl name="AIF1DAC1 EQ2 Volume" value="8" /> 70 <ctl name="AIF1DAC1 EQ3 Volume" value="16" /> 71 <ctl name="AIF1DAC1 EQ4 Volume" value="10" /> 72 <ctl name="AIF1DAC1 EQ5 Volume" value="11" /> 73 </path> 74 75 <path name="eq-headphone"> 76 <ctl name="AIF1DAC1 EQ Switch" value="0" /> 77 </path> 78 79 <path name="headphones"> 80 <path name="dac1" /> 81 <ctl name="Headphone Switch" value="1" /> 82 <path name="eq-headphone" /> 83 </path> 84 85 <path name="speaker"> 86 <path name="dac1" /> 87 <ctl name="Speaker Switch" value="1" /> 88 <ctl name="SPKR DAC1 Switch" value="1" /> 89 <ctl name="SPKL DAC1 Switch" value="1" /> 90 <ctl name="Speaker Mixer Volume" value="3" /> 91 <ctl name="Speaker Boost Volume" value="5" /> 92 <ctl name="AIF1DRC1 Mode" value="Speakers Media" /> 93 <ctl name="AIF1DAC1 DRC Switch" value="1" /> 94 <path name="eq-speaker" /> 95 </path> 96 97 <path name="adc-to-aif1adc"> 98 <ctl name="AIF1ADC1L Mixer ADC/DMIC Switch" value="1" /> 99 <ctl name="AIF1ADC1R Mixer ADC/DMIC Switch" value="1" /> 100 </path> 101 102 <path name="aif2-to-aif1adc"> 103 <ctl name="AIF1ADC1L Mixer AIF2 Switch" value="1" /> 104 <ctl name="AIF1ADC1R Mixer AIF2 Switch" value="1" /> 105 <ctl name="AIF2DACL Mux" value="AIF2" /> 106 <ctl name="AIF2DACR Mux" value="AIF2" /> 107 </path> 108 109 <path name="main-mic"> 110 <ctl name="MIXINR IN2R Switch" value="1" /> 111 <ctl name="MIXINR IN2R Volume" value="1" /> 112 <ctl name="IN2R Switch" value="1" /> 113 <ctl name="AIF1ADCL Source" value="Right" /> 114 <path name="adc-to-aif1adc" /> 115 </path> 116 117 <path name="second-mic-left"> 118 <ctl name="MIXINL IN2L Switch" value="1" /> 119 <ctl name="MIXINL IN2L Volume" value="1" /> 120 <ctl name="IN2L Switch" value="1" /> 121 <ctl name="AIF1ADCL Source" value="Left" /> 122 <path name="adc-to-aif1adc" /> 123 </path> 124 125 <path name="second-mic-right"> 126 <ctl name="MIXINL IN2L Switch" value="1" /> 127 <ctl name="MIXINL IN2L Volume" value="1" /> 128 <ctl name="IN2L Switch" value="1" /> 129 <ctl name="AIF1ADCR Source" value="Left" /> 130 <path name="adc-to-aif1adc" /> 131 </path> 132 133 <path name="third-mic"> 134 <ctl name="MIXINL IN1L Switch" value="1" /> 135 <ctl name="MIXINL IN1L Volume" value="1" /> 136 <ctl name="IN1L Switch" value="1" /> 137 <ctl name="AIF1ADCR Source" value="Left" /> 138 <path name="adc-to-aif1adc" /> 139 </path> 140 141 <path name="headset-mic"> 142 <ctl name="MIXINR IN1R Switch" value="1" /> 143 <ctl name="MIXINR IN1R Volume" value="1" /> 144 <ctl name="IN1R Switch" value="1" /> 145 <ctl name="AIF1ADCL Source" value="Right" /> 146 <path name="adc-to-aif1adc" /> 147 </path> 148 149 <!-- These are useful named paths --> 150 151 <!-- Playback paths --> 152 153 <path name="media-speaker"> 154 <path name="speaker" /> 155 <ctl name="Speaker Volume" id="0" value="61" /> 156 <ctl name="Speaker Volume" id="1" value="62" /> 157 </path> 158 159 <path name="media-headphones"> 160 <path name="headphones" /> 161 <ctl name="Headphone Volume" value="55" /> 162 </path> 163 164 <path name="voice-rec-speaker"> 165 <path name="speaker" /> 166 <ctl name="Speaker Volume" id="0" value="61" /> 167 <ctl name="Speaker Volume" id="1" value="62" /> 168 </path> 169 170 <path name="voice-rec-headphones"> 171 <path name="headphones" /> 172 <ctl name="Headphone Volume" value="55" /> 173 </path> 174 175 <path name="communication-speaker"> 176 <path name="speaker" /> 177 <ctl name="Speaker Volume" id="0" value="61" /> 178 <ctl name="Speaker Volume" id="1" value="62" /> 179 </path> 180 181 <path name="communication-headphones"> 182 <path name="headphones" /> 183 <ctl name="Headphone Volume" value="55" /> 184 </path> 185 186 <path name="speaker-and-headphones"> 187 <path name="dac1" /> 188 <ctl name="Headphone Switch" value="1" /> 189 <ctl name="Speaker Switch" value="1" /> 190 <ctl name="SPKR DAC1 Switch" value="1" /> 191 <ctl name="SPKL DAC1 Switch" value="1" /> 192 <ctl name="Speaker Mixer Volume" value="3" /> 193 <ctl name="Speaker Boost Volume" value="5" /> 194 <ctl name="Speaker Volume" id="0" value="61" /> 195 <ctl name="Speaker Volume" id="1" value="62" /> 196 <ctl name="AIF1DRC1 Mode" value="Speakers Media" /> 197 <ctl name="AIF1DAC1 DRC Switch" value="1" /> 198 <path name="eq-speaker" /> 199 </path> 200 201 <path name="bt-sco-headset"> 202 <path name="dac2" /> 203 </path> 204 205 <!-- Capture paths --> 206 207 <path name="media-main-mic"> 208 <path name="main-mic" /> 209 <ctl name="IN2R Volume" value="16" /> 210 <ctl name="AIF1ADC1 HPF Switch" value="1" /> 211 <ctl name="AIF1ADC1 HPF Mode" value="HiFi" /> 212 </path> 213 214 <path name="voice-rec-main-mic"> 215 <path name="main-mic" /> 216 <path name="second-mic-right" /> 217 <ctl name="IN2R Volume" value="16" /> 218 <ctl name="IN2L Volume" value="16" /> 219 <ctl name="AIF1ADC1 HPF Switch" value="1" /> 220 <ctl name="AIF1ADC1 HPF Mode" value="HiFi" /> 221 </path> 222 223 <path name="communication-main-mic"> 224 <path name="main-mic" /> 225 <path name="second-mic-right" /> 226 <ctl name="IN2R Volume" value="16" /> 227 <ctl name="IN2L Volume" value="16" /> 228 <ctl name="AIF1ADC1 HPF Switch" value="1" /> 229 <ctl name="AIF1ADC1 HPF Mode" value="HiFi" /> 230 </path> 231 232 <path name="media-second-mic"> 233 <path name="second-mic-left" /> 234 <ctl name="IN2L Volume" value="16" /> 235 <ctl name="AIF1ADC1 HPF Switch" value="1" /> 236 <ctl name="AIF1ADC1 HPF Mode" value="HiFi" /> 237 </path> 238 239 <path name="media-headset-mic"> 240 <path name="headset-mic" /> 241 <ctl name="IN1R Volume" value="16" /> 242 <ctl name="AIF1ADC1 HPF Mode" value="HiFi" /> 243 </path> 244 245 <path name="bt-sco-mic"> 246 <path name="aif2-to-aif1adc" /> 247 </path> 248 249 <path name="voice-rec-headset-mic"> 250 <path name="headset-mic" /> 251 <ctl name="IN1R Volume" value="16" /> 252 <ctl name="AIF1ADC1 HPF Mode" value="HiFi" /> 253 </path> 254 255 <path name="communication-headset-mic"> 256 <path name="headset-mic" /> 257 <ctl name="IN1R Volume" value="16" /> 258 <ctl name="AIF1ADC1 HPF Mode" value="Voice 1" /> 259 </path> 260 261</mixer> 262