Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | <!-- Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. --> |
| 3 | <!-- --> |
| 4 | <!-- Redistribution and use in source and binary forms, with or without --> |
| 5 | <!-- modification, are permitted provided that the following conditions are --> |
| 6 | <!-- met: --> |
| 7 | <!-- * Redistributions of source code must retain the above copyright --> |
| 8 | <!-- notice, this list of conditions and the following disclaimer. --> |
| 9 | <!-- * Redistributions in binary form must reproduce the above --> |
| 10 | <!-- copyright notice, this list of conditions and the following --> |
| 11 | <!-- disclaimer in the documentation and/or other materials provided --> |
| 12 | <!-- with the distribution. --> |
| 13 | <!-- * Neither the name of The Linux Foundation nor the names of its --> |
| 14 | <!-- contributors may be used to endorse or promote products derived --> |
| 15 | <!-- from this software without specific prior written permission. --> |
| 16 | <!-- --> |
| 17 | <!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED --> |
| 18 | <!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF --> |
| 19 | <!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT --> |
| 20 | <!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS --> |
| 21 | <!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR --> |
| 22 | <!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF --> |
| 23 | <!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR --> |
| 24 | <!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, --> |
| 25 | <!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN --> |
| 26 | <!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> |
| 27 | <mixer> |
| 28 | <!-- These are the initial mixer settings --> |
| 29 | <ctl name="Voice Rx Device Mute" id="0" value="0" /> |
| 30 | <ctl name="Voice Rx Device Mute" id="1" value="-1" /> |
| 31 | <ctl name="Voice Rx Device Mute" id="2" value="20" /> |
| 32 | <ctl name="Voice Tx Mute" id="0" value="0" /> |
| 33 | <ctl name="Voice Tx Mute" id="1" value="-1" /> |
| 34 | <ctl name="Voice Tx Mute" id="2" value="500" /> |
| 35 | <ctl name="Voice Rx Gain" id="0" value="0" /> |
| 36 | <ctl name="Voice Rx Gain" id="1" value="-1" /> |
| 37 | <ctl name="Voice Rx Gain" id="2" value="20" /> |
| 38 | <ctl name="HPHL Volume" value="97" /> |
| 39 | <ctl name="HPHR Volume" value="97" /> |
| 40 | <ctl name="RX1 Digital Volume" value="84" /> |
| 41 | <ctl name="RX2 Digital Volume" value="84" /> |
| 42 | <ctl name="RX3 Digital Volume" value="84" /> |
| 43 | <ctl name="RX4 Digital Volume" value="84" /> |
| 44 | <ctl name="ADC2 Volume" value="19" /> |
| 45 | <ctl name="DEC5 Volume" value="84" /> |
| 46 | <ctl name="DEC10 Volume" value="84" /> |
| 47 | <ctl name="COMP0 Switch" value="0" /> |
| 48 | <ctl name="COMP1 Switch" value="0" /> |
| 49 | <ctl name="AUX_PCM_RX Audio Mixer MultiMedia1" value="0" /> |
| 50 | <ctl name="AUX_PCM_RX Audio Mixer MultiMedia4" value="0" /> |
| 51 | <ctl name="AUX_PCM_RX Audio Mixer MultiMedia5" value="0" /> |
| 52 | <ctl name="MultiMedia1 Mixer AUX_PCM_UL_TX" value="0" /> |
| 53 | <ctl name="MultiMedia8 Mixer AUX_PCM_UL_TX" value="0" /> |
| 54 | <ctl name="IIR1 INP1 MUX" value="ZERO" /> |
| 55 | <ctl name="SLIM TX9 MUX" value="ZERO" /> |
| 56 | <ctl name="DEC10 MUX" value="ZERO" /> |
| 57 | <ctl name="DEC5 MUX" value="ZERO" /> |
| 58 | <ctl name="RX2 MIX2 INP1" value="ZERO" /> |
| 59 | <ctl name="RX1 MIX2 INP1" value="ZERO" /> |
| 60 | <ctl name="RX7 MIX1 INP1" value="ZERO" /> |
| 61 | <ctl name="RX2 MIX1 INP2" value="ZERO" /> |
| 62 | <ctl name="RX2 MIX1 INP1" value="ZERO" /> |
| 63 | <ctl name="RX1 MIX1 INP1" value="ZERO" /> |
| 64 | <ctl name="HPHL DAC Switch" value="0" /> |
| 65 | <ctl name="QUAT_MI2S_RX Channels" value="One" /> |
| 66 | <ctl name="QUAT_MI2S_TX Channels" value="One" /> |
| 67 | <ctl name="SLIM RX4 MUX" value="AIF1_PB" /> |
| 68 | <ctl name="SLIM RX3 MUX" value="AIF1_PB" /> |
| 69 | <ctl name="CLASS_H_DSM MUX" value="ZERO" /> |
| 70 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 71 | <!-- RT Proxy Cal --> |
| 72 | <ctl name="RT_PROXY_1_RX SetCalMode" value="CAL_MODE_NONE" /> |
| 73 | <ctl name="RT_PROXY_1_TX SetCalMode" value="CAL_MODE_NONE" /> |
| 74 | <!-- RT Proxy Cal end --> |
| 75 | |
| 76 | <!-- These are audio route (FE to BE) specific mixer settings --> |
| 77 | <path name="deep-buffer-playback"> |
| 78 | <ctl name="AUX_PCM_RX Audio Mixer MultiMedia1" value="1" /> |
| 79 | </path> |
| 80 | |
| 81 | <path name="low-latency-playback"> |
| 82 | <ctl name="AUX_PCM_RX Audio Mixer MultiMedia5" value="1" /> |
| 83 | </path> |
| 84 | |
| 85 | <path name="compress-offload-playback"> |
| 86 | <ctl name="AUX_PCM_RX Audio Mixer MultiMedia4" value="1" /> |
| 87 | </path> |
| 88 | |
| 89 | <path name="audio-record"> |
| 90 | <ctl name="MultiMedia1 Mixer AUX_PCM_UL_TX" value="1" /> |
| 91 | </path> |
| 92 | |
| 93 | <path name="audio-record-compress"> |
| 94 | <ctl name="MultiMedia8 Mixer AUX_PCM_UL_TX" value="1" /> |
| 95 | </path> |
| 96 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 97 | <!-- These are actual sound device specific mixer settings --> |
| 98 | <path name="adc1"> |
| 99 | <ctl name="AIF1_CAP Mixer SLIM TX9" value="1"/> |
| 100 | <ctl name="QUAT_MI2S_TX Channels" value="One" /> |
| 101 | <ctl name="SLIM TX9 MUX" value="DEC5" /> |
| 102 | <ctl name="DEC5 MUX" value="ADC2" /> |
| 103 | </path> |
| 104 | |
| 105 | <path name="adc2"> |
| 106 | <ctl name="AIF1_CAP Mixer SLIM TX9" value="1"/> |
| 107 | <ctl name="QUAT_MI2S_TX Channels" value="One" /> |
| 108 | <ctl name="SLIM TX9 MUX" value="DEC5" /> |
| 109 | <ctl name="DEC5 MUX" value="ADC2" /> |
| 110 | </path> |
| 111 | |
| 112 | <path name="dmic1"> |
| 113 | <ctl name="AIF1_CAP Mixer SLIM TX9" value="1"/> |
| 114 | <ctl name="QUAT_MI2S_TX Channels" value="One" /> |
| 115 | <ctl name="SLIM TX9 MUX" value="DEC10" /> |
| 116 | <ctl name="DEC10 MUX" value="DMIC3" /> |
| 117 | </path> |
| 118 | |
| 119 | <path name="speaker"> |
| 120 | <ctl name="SLIM RX3 MUX" value="AIF1_PB" /> |
| 121 | <ctl name="SLIM RX4 MUX" value="AIF1_PB" /> |
| 122 | <ctl name="QUAT_MI2S_RX Channels" value="Two" /> |
| 123 | <ctl name="RX1 MIX1 INP1" value="RX3" /> |
| 124 | <ctl name="RX2 MIX1 INP1" value="RX4" /> |
| 125 | <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" /> |
| 126 | <ctl name="HPHL DAC Switch" value="1" /> |
| 127 | <ctl name="COMP1 Switch" value="1" /> |
| 128 | </path> |
| 129 | |
| 130 | <path name="sidetone-iir"> |
| 131 | <ctl name="IIR1 Enable Band1" value="1" /> |
| 132 | <ctl name="IIR1 Enable Band2" value="1" /> |
| 133 | <ctl name="IIR1 Enable Band3" value="1" /> |
| 134 | <ctl name="IIR1 Enable Band4" value="1" /> |
| 135 | <ctl name="IIR1 Enable Band5" value="1" /> |
| 136 | </path> |
| 137 | |
| 138 | <path name="sidetone-headphones"> |
| 139 | <path name="sidetone-iir" /> |
| 140 | <ctl name="IIR1 INP1 Volume" value="77" /> |
| 141 | <ctl name="RX1 MIX2 INP1" value="IIR1" /> |
| 142 | <ctl name="RX2 MIX2 INP1" value="IIR1" /> |
| 143 | </path> |
| 144 | |
| 145 | <path name="sidetone-handset"> |
| 146 | <path name="sidetone-iir" /> |
| 147 | <ctl name="IIR1 INP1 Volume" value="62" /> |
| 148 | <ctl name="RX1 MIX2 INP1" value="IIR1" /> |
| 149 | </path> |
| 150 | |
| 151 | <path name="speaker-mic"> |
| 152 | <path name="dmic1" /> |
| 153 | </path> |
| 154 | |
| 155 | <path name="handset"> |
| 156 | <ctl name="SLIM RX3 MUX" value="AIF1_PB" /> |
| 157 | <ctl name="SLIM RX4 MUX" value="AIF1_PB" /> |
| 158 | <ctl name="QUAT_MI2S_RX Channels" value="Two" /> |
| 159 | <ctl name="RX1 MIX1 INP1" value="RX3" /> |
| 160 | <ctl name="RX2 MIX1 INP1" value="RX4" /> |
| 161 | <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" /> |
| 162 | <ctl name="HPHL DAC Switch" value="1" /> |
| 163 | <ctl name="COMP1 Switch" value="1" /> |
| 164 | </path> |
| 165 | |
| 166 | <path name="handset-mic"> |
| 167 | <path name="adc2" /> |
| 168 | </path> |
| 169 | |
| 170 | <path name="headphones"> |
| 171 | <ctl name="SLIM RX3 MUX" value="AIF1_PB" /> |
| 172 | <ctl name="SLIM RX4 MUX" value="AIF1_PB" /> |
| 173 | <ctl name="QUAT_MI2S_RX Channels" value="Two" /> |
| 174 | <ctl name="RX1 MIX1 INP1" value="RX3" /> |
| 175 | <ctl name="RX2 MIX1 INP1" value="RX4" /> |
| 176 | <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" /> |
| 177 | <ctl name="HPHL DAC Switch" value="1" /> |
| 178 | <ctl name="COMP1 Switch" value="1" /> |
| 179 | </path> |
| 180 | |
| 181 | <path name="line"> |
| 182 | <path name="headphones" /> |
| 183 | </path> |
| 184 | |
| 185 | <path name="headset-mic"> |
| 186 | <path name="adc2" /> |
| 187 | <ctl name="ADC2 Volume" value="13" /> |
| 188 | </path> |
| 189 | |
| 190 | <path name="voice-handset"> |
| 191 | <path name="handset" /> |
| 192 | </path> |
| 193 | |
| 194 | <path name="voice-handset-tmus"> |
| 195 | <path name="handset" /> |
| 196 | </path> |
| 197 | |
| 198 | <path name="voice-speaker"> |
| 199 | <path name="speaker" /> |
| 200 | </path> |
| 201 | |
| 202 | <path name="voice-speaker-mic"> |
| 203 | <path name="speaker-mic" /> |
| 204 | </path> |
| 205 | |
| 206 | <path name="voice-headphones"> |
| 207 | <path name="headphones" /> |
| 208 | </path> |
| 209 | |
| 210 | <path name="voice-line"> |
| 211 | <path name="voice-headphones" /> |
| 212 | </path> |
| 213 | |
| 214 | <path name="voice-headset-mic"> |
| 215 | <path name="headset-mic" /> |
| 216 | <path name="sidetone-headphones" /> |
| 217 | <ctl name="ADC2 Volume" value="13" /> |
| 218 | </path> |
| 219 | |
| 220 | <path name="speaker-and-headphones"> |
| 221 | <path name="headphones" /> |
| 222 | <ctl name="RX7 MIX1 INP1" value="RX1" /> |
| 223 | <ctl name="COMP0 Switch" value="1" /> |
| 224 | </path> |
| 225 | |
| 226 | <path name="speaker-and-line"> |
| 227 | <path name="speaker-and-headphones" /> |
| 228 | </path> |
| 229 | |
| 230 | <path name="voice-rec-mic"> |
| 231 | <path name="handset-mic" /> |
| 232 | </path> |
| 233 | |
| 234 | <path name="camcorder-mic"> |
| 235 | <path name="handset-mic" /> |
| 236 | </path> |
| 237 | |
| 238 | </mixer> |