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