• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<mixer>
3    <!-- These are the initial mixer settings -->
4    <!-- NOTE: For all the mixer controls added under usecases or sound devices -->
5    <!--       we should have an initial mixer setting (default value) -->
6    <ctl name="Voice Rx Device Mute" value="0" />
7    <ctl name="Voice Tx Mute" value="0" />
8    <ctl name="Voice Rx Volume" value="0" />
9    <ctl name="TTY Mode" value="Off" />
10    <ctl name="LINEOUT1 Volume" value="12" />
11    <ctl name="LINEOUT2 Volume" value="12" />
12    <ctl name="LINEOUT3 Volume" value="12" />
13    <ctl name="LINEOUT4 Volume" value="12" />
14    <ctl name="LINEOUT5 Volume" value="12" />
15    <ctl name="HPHL Volume" value="6" />
16    <ctl name="HPHR Volume" value="6" />
17    <ctl name="RX1 Digital Volume" value="84" />
18    <ctl name="RX2 Digital Volume" value="84" />
19    <ctl name="RX3 Digital Volume" value="84" />
20    <ctl name="RX4 Digital Volume" value="84" />
21    <ctl name="RX5 Digital Volume" value="84" />
22    <ctl name="RX6 Digital Volume" value="84" />
23    <ctl name="RX7 Digital Volume" value="84" />
24    <ctl name="ADC1 Volume" value="3" />
25    <ctl name="ADC2 Volume" value="3" />
26    <ctl name="ADC3 Volume" value="3" />
27    <ctl name="ADC4 Volume" value="3" />
28    <ctl name="ADC5 Volume" value="3" />
29    <ctl name="ADC6 Volume" value="3" />
30    <ctl name="DEC1 Volume" value="84" />
31    <ctl name="DEC2 Volume" value="84" />
32    <ctl name="DEC3 Volume" value="84" />
33    <ctl name="DEC4 Volume" value="84" />
34    <ctl name="DEC5 Volume" value="84" />
35    <ctl name="DEC6 Volume" value="84" />
36    <ctl name="DEC7 Volume" value="84" />
37    <ctl name="DEC8 Volume" value="84" />
38    <ctl name="DEC9 Volume" value="84" />
39    <ctl name="DEC10 Volume" value="84" />
40    <ctl name="MICBIAS1 CAPLESS Switch" value="1" />
41    <ctl name="MICBIAS2 CAPLESS Switch" value="0" />
42    <ctl name="MICBIAS3 CAPLESS Switch" value="0" />
43    <ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="0" />
44    <ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="0" />
45    <ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="0" />
46    <ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="0" />
47    <ctl name="SLIMBUS_0_RX Port Mixer SLIM_0_TX" value="0" />
48    <ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="0" />
49    <ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="0" />
50    <ctl name="STUB_RX Mixer Voice Stub" value="0" />
51    <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="0" />
52    <ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="0" />
53    <ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="0" />
54    <ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="0" />
55    <ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="0" />
56    <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
57    <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia2" value="0" />
58    <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
59    <ctl name="HDMI_RX_Voice Mixer Voice Stub" value="0" />
60    <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="0" />
61    <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0" />
62    <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0" />
63    <ctl name="HDMI Mixer MultiMedia1" value="0" />
64    <ctl name="HDMI Mixer MultiMedia2" value="0" />
65    <ctl name="HDMI Mixer MultiMedia5" value="0" />
66    <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="0" />
67    <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia2" value="0" />
68    <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="0" />
69    <ctl name="IIR1 INP1 MUX" value="ZERO" />
70    <ctl name="SLIM TX10 MUX" value="ZERO" />
71    <ctl name="SLIM TX9 MUX" value="ZERO" />
72    <ctl name="SLIM TX8 MUX" value="ZERO" />
73    <ctl name="SLIM TX7 MUX" value="ZERO" />
74    <ctl name="SLIM TX6 MUX" value="ZERO" />
75    <ctl name="SLIM TX5 MUX" value="ZERO" />
76    <ctl name="SLIM TX4 MUX" value="ZERO" />
77    <ctl name="SLIM TX3 MUX" value="ZERO" />
78    <ctl name="SLIM TX2 MUX" value="ZERO" />
79    <ctl name="SLIM TX1 MUX" value="ZERO" />
80    <ctl name="DEC10 MUX" value="ZERO" />
81    <ctl name="DEC9 MUX" value="ZERO" />
82    <ctl name="DEC8 MUX" value="ZERO" />
83    <ctl name="DEC7 MUX" value="ZERO" />
84    <ctl name="DEC6 MUX" value="ZERO" />
85    <ctl name="DEC5 MUX" value="ZERO" />
86    <ctl name="DEC4 MUX" value="ZERO" />
87    <ctl name="DEC3 MUX" value="ZERO" />
88    <ctl name="DEC2 MUX" value="ZERO" />
89    <ctl name="DEC1 MUX" value="ZERO" />
90    <ctl name="RX3 MIX2 INP2" value="ZERO" />
91    <ctl name="RX3 MIX2 INP1" value="ZERO" />
92    <ctl name="RX2 MIX2 INP2" value="ZERO" />
93    <ctl name="RX2 MIX2 INP1" value="ZERO" />
94    <ctl name="RX1 MIX2 INP2" value="ZERO" />
95    <ctl name="RX1 MIX2 INP1" value="ZERO" />
96    <ctl name="RX7 MIX1 INP2" value="ZERO" />
97    <ctl name="RX7 MIX1 INP1" value="ZERO" />
98    <ctl name="RX6 MIX1 INP2" value="ZERO" />
99    <ctl name="RX6 MIX1 INP1" value="ZERO" />
100    <ctl name="RX5 MIX1 INP2" value="ZERO" />
101    <ctl name="RX5 MIX1 INP1" value="ZERO" />
102    <ctl name="RX4 MIX1 INP2" value="ZERO" />
103    <ctl name="RX4 MIX1 INP1" value="ZERO" />
104    <ctl name="RX3 MIX1 INP2" value="ZERO" />
105    <ctl name="RX3 MIX1 INP1" value="ZERO" />
106    <ctl name="RX2 MIX1 INP2" value="ZERO" />
107    <ctl name="RX2 MIX1 INP1" value="ZERO" />
108    <ctl name="RX1 MIX1 INP3" value="ZERO" />
109    <ctl name="RX1 MIX1 INP2" value="ZERO" />
110    <ctl name="RX1 MIX1 INP1" value="ZERO" />
111    <ctl name="RX6 DSM MUX" value="CIC_OUT" />
112    <ctl name="RX4 DSM MUX" value="CIC_OUT" />
113    <ctl name="HPHL DAC Switch" value="0" />
114    <ctl name="DAC1 Switch" value="0" />
115    <ctl name="SLIM_0_RX Channels" value="One" />
116    <ctl name="SLIM_0_TX Channels" value="One" />
117    <ctl name="SLIM_3_RX Channels" value="One" />
118    <ctl name="HDMI_RX Channels" value="Two" />
119
120    <!-- These are audio route (FE to BE) specific mixer settings -->
121    <path name="deep-buffer-playback">
122        <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
123    </path>
124
125    <path name="deep-buffer-playback hdmi">
126        <ctl name="HDMI Mixer MultiMedia1" value="1" />
127    </path>
128
129    <path name="deep-buffer-playback speaker-and-hdmi">
130        <path name="deep-buffer-playback hdmi" />
131        <path name="deep-buffer-playback" />
132    </path>
133
134    <path name="deep-buffer-playback bt-sco">
135        <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
136    </path>
137
138    <path name="low-latency-playback">
139        <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
140    </path>
141
142    <path name="low-latency-playback hdmi">
143        <ctl name="HDMI Mixer MultiMedia5" value="1" />
144    </path>
145    <path name="low-latency-playback bt-sco">
146        <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
147    </path>
148
149    <path name="low-latency-playback speaker-and-hdmi">
150        <ctl name="HDMI Mixer MultiMedia5" value="1" />
151        <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
152    </path>
153
154    <path name="multi-channel-playback hdmi">
155        <ctl name="HDMI Mixer MultiMedia2" value="1" />
156    </path>
157
158    <path name="audio-record">
159        <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
160    </path>
161
162    <path name="audio-record bt-sco">
163        <ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
164    </path>
165
166    <path name="low-latency-record">
167        <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="1" />
168    </path>
169
170    <path name="low-latency-record bt-sco">
171        <ctl name="MultiMedia5 Mixer INTERNAL_BT_SCO_TX" value="1" />
172    </path>
173
174    <path name="voice-call">
175        <ctl name="STUB_RX Mixer Voice Stub" value="1" />
176        <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
177        <ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="1" />
178    </path>
179
180    <path name="voice-call hdmi">
181        <ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="1" />
182        <ctl name="HDMI_RX_Voice Mixer Voice Stub" value="1" />
183        <ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="1" />
184        <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
185    </path>
186
187    <path name="voice-call bt-sco">
188        <ctl name="Internal BTSCO SampleRate" value="8000" />
189        <ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="1" />
190        <ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="1" />
191        <ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="1" />
192        <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="1" />
193        <ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
194        <ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="1" />
195        <ctl name="SLIM_3_RX Channels" value="One" />
196        <ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="1" />
197        <ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="1" />
198    </path>
199
200    <!-- These are actual sound device specific mixer settings -->
201    <path name="dmic1">
202        <ctl name="SLIM_0_TX Channels" value="One" />
203        <ctl name="SLIM TX7 MUX" value="DEC7" />
204        <ctl name="DEC7 MUX" value="DMIC1" />
205    </path>
206
207    <path name="adc1">
208        <ctl name="SLIM_0_TX Channels" value="One" />
209        <ctl name="SLIM TX7 MUX" value="DEC6" />
210        <ctl name="DEC6 MUX" value="ADC1" />
211    </path>
212
213    <path name="adc2">
214        <ctl name="SLIM_0_TX Channels" value="One" />
215        <ctl name="SLIM TX7 MUX" value="DEC8" />
216        <ctl name="DEC8 MUX" value="ADC2" />
217    </path>
218
219    <path name="adc3">
220        <ctl name="SLIM_0_TX Channels" value="One" />
221        <ctl name="SLIM TX7 MUX" value="DEC4" />
222        <ctl name="DEC4 MUX" value="ADC3" />
223    </path>
224
225    <path name="speaker">
226        <ctl name="SLIM_0_RX Channels" value="One" />
227        <ctl name="RX3 MIX1 INP1" value="RX1" />
228        <ctl name="RX3 MIX1 INP2" value="RX6" />
229        <ctl name="RX4 DSM MUX" value="DSM_INV" />
230        <ctl name="SLIM TX3 MUX" value="RMIX3" />
231    </path>
232
233    <path name="speaker-reverse">
234        <!-- mono speaker, no channel swap here -->
235        <path name="speaker" />
236    </path>
237
238    <path name="speaker-mic">
239        <path name="adc3" />
240        <ctl name="DEC4 Volume" value="99" />
241    </path>
242
243    <path name="handset">
244        <ctl name="SLIM_0_RX Channels" value="One" />
245        <ctl name="RX1 MIX1 INP1" value="RX1" />
246        <ctl name="RX1 MIX1 INP2" value="RX6" />
247        <ctl name="EAR PA Gain" value="POS_6_DB" />
248        <ctl name="DAC1 Switch" value="1" />
249        <ctl name="SLIM TX3 MUX" value="RMIX1" />
250    </path>
251
252    <path name="handset-mic">
253        <path name="adc1" />
254        <ctl name="DEC6 Volume" value="99" />
255    </path>
256
257    <path name="headphones">
258        <ctl name="SLIM_0_RX Channels" value="Two" />
259        <ctl name="RX1 MIX1 INP1" value="RX1" />
260        <ctl name="RX1 MIX1 INP2" value="RX6" />
261        <ctl name="RX2 MIX1 INP1" value="RX2" />
262        <ctl name="RX2 MIX1 INP2" value="RX7" />
263        <ctl name="HPHL DAC Switch" value="1" />
264        <ctl name="SLIM TX3 MUX" value="RMIX1" />
265        <ctl name="SLIM TX5 MUX" value="RMIX2" />
266    </path>
267
268    <path name="headset-mic">
269        <path name="adc2" />
270        <ctl name="ADC2 Volume" value="2" />
271    </path>
272
273    <path name="voice-handset-tmus">
274        <path name="handset" />
275    </path>
276
277    <path name="voice-speaker">
278        <path name="speaker" />
279    </path>
280
281    <path name="voice-speaker-mic">
282        <path name="adc3" />
283        <ctl name="DEC4 Volume" value="87" />
284    </path>
285
286    <path name="voice-headphones">
287        <path name="headphones" />
288    </path>
289
290    <path name="voice-headset-mic">
291        <path name="headset-mic" />
292    </path>
293
294    <path name="speaker-and-headphones">
295        <path name="headphones" />
296        <ctl name="RX3 MIX1 INP1" value="RX1" />
297        <ctl name="RX3 MIX1 INP2" value="RX6" />
298        <ctl name="RX5 MIX1 INP1" value="RX2" />
299        <ctl name="RX5 MIX1 INP2" value="RX7" />
300        <ctl name="RX4 DSM MUX" value="DSM_INV" />
301        <ctl name="RX6 DSM MUX" value="DSM_INV" />
302    </path>
303
304    <path name="hdmi">
305    </path>
306
307    <path name="speaker-and-hdmi">
308        <path name="speaker" />
309        <path name="hdmi" />
310    </path>
311
312    <path name="voice-rec-mic">
313        <path name="adc1" />
314        <ctl name="ADC1 Volume" value="2" />
315    </path>
316
317    <path name="camcorder-mic">
318        <path name="adc1" />
319        <ctl name="DEC6 Volume" value="89" />
320    </path>
321
322    <path name="hdmi-mic">
323        <path name="dmic1" />
324    </path>
325
326    <path name="bt-sco-headset">
327    </path>
328
329    <path name="bt-sco-mic">
330    </path>
331
332    <!-- Dual MIC devices -->
333    <path name="dmic-endfire">
334        <ctl name="SLIM TX7 MUX" value="DEC7" />
335        <ctl name="DEC7 MUX" value="ADC1" />
336        <ctl name="SLIM TX8 MUX" value="DEC9" />
337        <ctl name="DEC9 MUX" value="ADC3" />
338        <ctl name="SLIM_0_TX Channels" value="Two" />
339        <ctl name="RX1 MIX2 INP1" value="IIR1" />
340        <ctl name="RX2 MIX2 INP1" value="IIR1" />
341        <ctl name="IIR1 INP1 Volume" value="63" />
342        <ctl name="IIR1 INP1 MUX" value="DEC7" />
343    </path>
344
345    <path name="dmic-broadside">
346        <ctl name="SLIM TX7 MUX" value="DEC7" />
347        <ctl name="DEC7 MUX" value="DMIC1" />
348        <ctl name="SLIM TX8 MUX" value="DEC8" />
349        <ctl name="DEC8 MUX" value="DMIC2" />
350        <ctl name="SLIM_0_TX Channels" value="Two" />
351        <ctl name="IIR1 INP1 Volume" value="63" />
352        <ctl name="IIR1 INP1 MUX" value="DEC7" />
353    </path>
354
355    <path name="speaker-dmic-endfire">
356        <ctl name="SLIM TX7 MUX" value="DEC7" />
357        <ctl name="DEC7 MUX" value="ADC1" />
358        <ctl name="SLIM TX8 MUX" value="DEC9" />
359        <ctl name="DEC9 MUX" value="ADC3" />
360        <ctl name="SLIM_0_TX Channels" value="Two" />
361    </path>
362
363    <path name="speaker-dmic-broadside">
364        <ctl name="SLIM TX7 MUX" value="DEC7" />
365        <ctl name="DEC7 MUX" value="DMIC1" />
366        <ctl name="SLIM TX8 MUX" value="DEC8" />
367        <ctl name="DEC8 MUX" value="DMIC2" />
368        <ctl name="SLIM_0_TX Channels" value="Two" />
369    </path>
370
371    <path name="voice-dmic-ef-tmus">
372        <path name="dmic-endfire" />
373    </path>
374
375    <path name="voice-dmic-ef">
376        <path name="dmic-endfire" />
377    </path>
378
379    <path name="voice-dmic-bs">
380        <path name="dmic-broadside" />
381    </path>
382
383    <path name="voice-speaker-dmic-ef">
384        <path name="speaker-dmic-endfire" />
385    </path>
386
387    <path name="voice-speaker-dmic-bs">
388        <path name="speaker-dmic-broadside" />
389    </path>
390
391    <path name="voice-rec-dmic-ef">
392        <path name="dmic-endfire" />
393    </path>
394
395    <path name="voice-rec-dmic-bs">
396        <path name="dmic-broadside" />
397    </path>
398
399    <path name="voice-rec-dmic-ef-fluence">
400        <path name="dmic-endfire" />
401    </path>
402
403    <path name="voice-rec-dmic-bs-fluence">
404        <path name="dmic-broadside" />
405    </path>
406
407    <!-- TTY devices -->
408
409    <path name="tty-headphones">
410        <ctl name="SLIM_0_RX Channels" value="One" />
411        <ctl name="RX1 MIX1 INP1" value="RX6" />
412        <ctl name="RX1 MIX1 INP2" value="RX6" />
413        <ctl name="HPHL DAC Switch" value="1" />
414        <ctl name="HPHL Volume" value="9" />
415        <ctl name="HPHR Volume" value="9" />
416    </path>
417
418    <path name="voice-tty-full-headphones">
419        <ctl name="TTY Mode" value="FULL" />
420        <path name="tty-headphones" />
421    </path>
422
423    <path name="voice-tty-vco-headphones">
424        <ctl name="TTY Mode" value="VCO" />
425        <path name="tty-headphones" />
426    </path>
427
428    <path name="voice-tty-hco-handset">
429        <ctl name="TTY Mode" value="HCO" />
430        <path name="handset" />
431    </path>
432
433    <path name="voice-tty-full-headset-mic">
434        <path name="adc2" />
435    </path>
436
437    <path name="voice-tty-hco-headset-mic">
438        <path name="adc2" />
439    </path>
440
441    <path name="voice-tty-vco-handset-mic">
442        <path name="adc1" />
443    </path>
444
445</mixer>
446