Home | History | Annotate | Download | only in mako
      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     <ctl name="Internal BTSCO SampleRate" value="8000" />
    120 
    121     <!-- These are audio route (FE to BE) specific mixer settings -->
    122     <path name="deep-buffer-playback">
    123         <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
    124     </path>
    125 
    126     <path name="deep-buffer-playback hdmi">
    127         <ctl name="HDMI Mixer MultiMedia1" value="1" />
    128     </path>
    129 
    130     <path name="deep-buffer-playback speaker-and-hdmi">
    131         <path name="deep-buffer-playback hdmi" />
    132         <path name="deep-buffer-playback" />
    133     </path>
    134 
    135     <path name="deep-buffer-playback bt-sco">
    136         <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
    137     </path>
    138 
    139     <path name="deep-buffer-playback bt-sco-wb">
    140         <ctl name="Internal BTSCO SampleRate" value="16000" />
    141         <path name="deep-buffer-playback bt-sco" />
    142     </path>
    143 
    144     <path name="low-latency-playback">
    145         <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
    146     </path>
    147 
    148     <path name="low-latency-playback hdmi">
    149         <ctl name="HDMI Mixer MultiMedia5" value="1" />
    150     </path>
    151     <path name="low-latency-playback bt-sco">
    152         <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
    153     </path>
    154 
    155     <path name="low-latency-playback bt-sco-wb">
    156         <ctl name="Internal BTSCO SampleRate" value="16000" />
    157         <path name="low-latency-playback bt-sco" />
    158     </path>
    159 
    160     <path name="low-latency-playback speaker-and-hdmi">
    161         <ctl name="HDMI Mixer MultiMedia5" value="1" />
    162         <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
    163     </path>
    164 
    165     <path name="multi-channel-playback hdmi">
    166         <ctl name="HDMI Mixer MultiMedia2" value="1" />
    167     </path>
    168 
    169     <path name="audio-record">
    170         <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
    171     </path>
    172 
    173     <path name="audio-record bt-sco">
    174         <ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
    175     </path>
    176 
    177     <path name="audio-record bt-sco-wb">
    178         <ctl name="Internal BTSCO SampleRate" value="16000" />
    179         <path name="audio-record bt-sco" />
    180     </path>
    181 
    182     <path name="low-latency-record">
    183         <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="1" />
    184     </path>
    185 
    186     <path name="low-latency-record bt-sco">
    187         <ctl name="MultiMedia5 Mixer INTERNAL_BT_SCO_TX" value="1" />
    188     </path>
    189 
    190     <path name="low-latency-record bt-sco-wb">
    191         <ctl name="Internal BTSCO SampleRate" value="16000" />
    192         <path name="low-latency-record bt-sco" />
    193     </path>
    194 
    195     <path name="voice-call">
    196         <ctl name="STUB_RX Mixer Voice Stub" value="1" />
    197         <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
    198         <ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="1" />
    199     </path>
    200 
    201     <path name="voice-call hdmi">
    202         <ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="1" />
    203         <ctl name="HDMI_RX_Voice Mixer Voice Stub" value="1" />
    204         <ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="1" />
    205         <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
    206     </path>
    207 
    208     <path name="voice-call bt-sco">
    209         <ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="1" />
    210         <ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="1" />
    211         <ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="1" />
    212         <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="1" />
    213         <ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
    214         <ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="1" />
    215         <ctl name="SLIM_3_RX Channels" value="One" />
    216         <ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="1" />
    217         <ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="1" />
    218     </path>
    219 
    220     <path name="voice-call bt-sco-wb">
    221         <ctl name="Internal BTSCO SampleRate" value="16000" />
    222         <path name="voice-call bt-sco" />
    223     </path>
    224 
    225     <!-- These are actual sound device specific mixer settings -->
    226     <path name="dmic1">
    227         <ctl name="SLIM_0_TX Channels" value="One" />
    228         <ctl name="SLIM TX7 MUX" value="DEC7" />
    229         <ctl name="DEC7 MUX" value="DMIC1" />
    230     </path>
    231 
    232     <path name="adc1">
    233         <ctl name="SLIM_0_TX Channels" value="One" />
    234         <ctl name="SLIM TX7 MUX" value="DEC6" />
    235         <ctl name="DEC6 MUX" value="ADC1" />
    236     </path>
    237 
    238     <path name="adc2">
    239         <ctl name="SLIM_0_TX Channels" value="One" />
    240         <ctl name="SLIM TX7 MUX" value="DEC8" />
    241         <ctl name="DEC8 MUX" value="ADC2" />
    242     </path>
    243 
    244     <path name="adc3">
    245         <ctl name="SLIM_0_TX Channels" value="One" />
    246         <ctl name="SLIM TX7 MUX" value="DEC4" />
    247         <ctl name="DEC4 MUX" value="ADC3" />
    248     </path>
    249 
    250     <path name="speaker">
    251         <ctl name="SLIM_0_RX Channels" value="One" />
    252         <ctl name="RX3 MIX1 INP1" value="RX1" />
    253         <ctl name="RX3 MIX1 INP2" value="RX6" />
    254         <ctl name="RX4 DSM MUX" value="DSM_INV" />
    255         <ctl name="SLIM TX3 MUX" value="RMIX3" />
    256     </path>
    257 
    258     <path name="speaker-reverse">
    259         <!-- mono speaker, no channel swap here -->
    260         <path name="speaker" />
    261     </path>
    262 
    263     <path name="speaker-mic">
    264         <path name="adc3" />
    265         <ctl name="DEC4 Volume" value="99" />
    266     </path>
    267 
    268     <path name="handset">
    269         <ctl name="SLIM_0_RX Channels" value="One" />
    270         <ctl name="RX1 MIX1 INP1" value="RX1" />
    271         <ctl name="RX1 MIX1 INP2" value="RX6" />
    272         <ctl name="EAR PA Gain" value="POS_6_DB" />
    273         <ctl name="DAC1 Switch" value="1" />
    274         <ctl name="SLIM TX3 MUX" value="RMIX1" />
    275     </path>
    276 
    277     <path name="handset-mic">
    278         <path name="adc1" />
    279         <ctl name="DEC6 Volume" value="99" />
    280     </path>
    281 
    282     <path name="headphones">
    283         <ctl name="SLIM_0_RX Channels" value="Two" />
    284         <ctl name="RX1 MIX1 INP1" value="RX1" />
    285         <ctl name="RX1 MIX1 INP2" value="RX6" />
    286         <ctl name="RX2 MIX1 INP1" value="RX2" />
    287         <ctl name="RX2 MIX1 INP2" value="RX7" />
    288         <ctl name="HPHL DAC Switch" value="1" />
    289         <ctl name="SLIM TX3 MUX" value="RMIX1" />
    290         <ctl name="SLIM TX5 MUX" value="RMIX2" />
    291     </path>
    292 
    293     <path name="headset-mic">
    294         <path name="adc2" />
    295         <ctl name="ADC2 Volume" value="2" />
    296     </path>
    297 
    298     <path name="voice-handset-tmus">
    299         <path name="handset" />
    300     </path>
    301 
    302     <path name="voice-speaker">
    303         <path name="speaker" />
    304     </path>
    305 
    306     <path name="voice-speaker-mic">
    307         <path name="adc3" />
    308         <ctl name="DEC4 Volume" value="87" />
    309     </path>
    310 
    311     <path name="voice-headphones">
    312         <path name="headphones" />
    313     </path>
    314 
    315     <path name="voice-headset-mic">
    316         <path name="headset-mic" />
    317     </path>
    318 
    319     <path name="speaker-and-headphones">
    320         <path name="headphones" />
    321         <ctl name="RX3 MIX1 INP1" value="RX1" />
    322         <ctl name="RX3 MIX1 INP2" value="RX6" />
    323         <ctl name="RX5 MIX1 INP1" value="RX2" />
    324         <ctl name="RX5 MIX1 INP2" value="RX7" />
    325         <ctl name="RX4 DSM MUX" value="DSM_INV" />
    326         <ctl name="RX6 DSM MUX" value="DSM_INV" />
    327     </path>
    328 
    329     <path name="hdmi">
    330     </path>
    331 
    332     <path name="speaker-and-hdmi">
    333         <path name="speaker" />
    334         <path name="hdmi" />
    335     </path>
    336 
    337     <path name="voice-rec-mic">
    338         <path name="adc1" />
    339         <ctl name="ADC1 Volume" value="2" />
    340     </path>
    341 
    342     <path name="camcorder-mic">
    343         <path name="adc1" />
    344         <ctl name="DEC6 Volume" value="89" />
    345     </path>
    346 
    347     <path name="hdmi-mic">
    348         <path name="dmic1" />
    349     </path>
    350 
    351     <path name="bt-sco-headset">
    352     </path>
    353 
    354     <path name="bt-sco-mic">
    355     </path>
    356 
    357     <!-- Dual MIC devices -->
    358     <path name="dmic-endfire">
    359         <ctl name="SLIM TX7 MUX" value="DEC7" />
    360         <ctl name="DEC7 MUX" value="ADC1" />
    361         <ctl name="SLIM TX8 MUX" value="DEC9" />
    362         <ctl name="DEC9 MUX" value="ADC3" />
    363         <ctl name="SLIM_0_TX Channels" value="Two" />
    364         <ctl name="RX1 MIX2 INP1" value="IIR1" />
    365         <ctl name="RX2 MIX2 INP1" value="IIR1" />
    366         <ctl name="IIR1 INP1 Volume" value="63" />
    367         <ctl name="IIR1 INP1 MUX" value="DEC7" />
    368     </path>
    369 
    370     <path name="dmic-broadside">
    371         <ctl name="SLIM TX7 MUX" value="DEC7" />
    372         <ctl name="DEC7 MUX" value="DMIC1" />
    373         <ctl name="SLIM TX8 MUX" value="DEC8" />
    374         <ctl name="DEC8 MUX" value="DMIC2" />
    375         <ctl name="SLIM_0_TX Channels" value="Two" />
    376         <ctl name="IIR1 INP1 Volume" value="63" />
    377         <ctl name="IIR1 INP1 MUX" value="DEC7" />
    378     </path>
    379 
    380     <path name="speaker-dmic-endfire">
    381         <ctl name="SLIM TX7 MUX" value="DEC7" />
    382         <ctl name="DEC7 MUX" value="ADC1" />
    383         <ctl name="SLIM TX8 MUX" value="DEC9" />
    384         <ctl name="DEC9 MUX" value="ADC3" />
    385         <ctl name="SLIM_0_TX Channels" value="Two" />
    386     </path>
    387 
    388     <path name="speaker-dmic-broadside">
    389         <ctl name="SLIM TX7 MUX" value="DEC7" />
    390         <ctl name="DEC7 MUX" value="DMIC1" />
    391         <ctl name="SLIM TX8 MUX" value="DEC8" />
    392         <ctl name="DEC8 MUX" value="DMIC2" />
    393         <ctl name="SLIM_0_TX Channels" value="Two" />
    394     </path>
    395 
    396     <path name="voice-dmic-ef-tmus">
    397         <path name="dmic-endfire" />
    398     </path>
    399 
    400     <path name="voice-dmic-ef">
    401         <path name="dmic-endfire" />
    402     </path>
    403 
    404     <path name="voice-dmic-bs">
    405         <path name="dmic-broadside" />
    406     </path>
    407 
    408     <path name="voice-speaker-dmic-ef">
    409         <path name="speaker-dmic-endfire" />
    410     </path>
    411 
    412     <path name="voice-speaker-dmic-bs">
    413         <path name="speaker-dmic-broadside" />
    414     </path>
    415 
    416     <path name="voice-rec-dmic-ef">
    417         <path name="dmic-endfire" />
    418     </path>
    419 
    420     <path name="voice-rec-dmic-bs">
    421         <path name="dmic-broadside" />
    422     </path>
    423 
    424     <path name="voice-rec-dmic-ef-fluence">
    425         <path name="dmic-endfire" />
    426     </path>
    427 
    428     <path name="voice-rec-dmic-bs-fluence">
    429         <path name="dmic-broadside" />
    430     </path>
    431 
    432     <!-- TTY devices -->
    433 
    434     <path name="tty-headphones">
    435         <ctl name="SLIM_0_RX Channels" value="One" />
    436         <ctl name="RX1 MIX1 INP1" value="RX6" />
    437         <ctl name="RX1 MIX1 INP2" value="RX6" />
    438         <ctl name="HPHL DAC Switch" value="1" />
    439         <ctl name="HPHL Volume" value="9" />
    440         <ctl name="HPHR Volume" value="9" />
    441     </path>
    442 
    443     <path name="voice-tty-full-headphones">
    444         <ctl name="TTY Mode" value="FULL" />
    445         <path name="tty-headphones" />
    446     </path>
    447 
    448     <path name="voice-tty-vco-headphones">
    449         <ctl name="TTY Mode" value="VCO" />
    450         <path name="tty-headphones" />
    451     </path>
    452 
    453     <path name="voice-tty-hco-handset">
    454         <ctl name="TTY Mode" value="HCO" />
    455         <path name="handset" />
    456     </path>
    457 
    458     <path name="voice-tty-full-headset-mic">
    459         <path name="adc2" />
    460     </path>
    461 
    462     <path name="voice-tty-hco-headset-mic">
    463         <path name="adc2" />
    464     </path>
    465 
    466     <path name="voice-tty-vco-handset-mic">
    467         <path name="adc1" />
    468     </path>
    469 
    470     <path name="bt-sco-mic-wb">
    471     </path>
    472 
    473     <path name="bt-sco-headset-wb">
    474     </path>
    475 
    476 </mixer>
    477