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