blob: 410b6e9973e6f79cfa0bd3c640dc80dc51ae7eda [file] [log] [blame]
Manisha Agarwal0173f7e2019-02-11 12:57:59 +05301<?xml version="1.0" encoding="ISO-8859-1"?>
Mingshu Pang01e6c9e2020-03-04 14:19:06 +08002<!-- Copyright (c) 2014, 2016-2020, The Linux Foundation. All rights reserved. -->
Manisha Agarwal0173f7e2019-02-11 12:57:59 +05303<!-- -->
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<audio_platform_info>
28 <acdb_ids>
29 <device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15"/>
30 <device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="15"/>
31 <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="124"/>
32 <device name="SND_DEVICE_IN_VOICE_REC_QMIC_FLUENCE" acdb_id="131"/>
33 <device name="SND_DEVICE_IN_VOICE_REC_TMIC" acdb_id="131"/>
34 <device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" acdb_id="132"/>
35 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED" acdb_id="150"/>
36 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT" acdb_id="150"/>
37 <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" acdb_id="151"/>
38 <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" acdb_id="152"/>
39 <device name="SND_DEVICE_IN_UNPROCESSED_USB_HEADSET_MIC" acdb_id="133"/>
40 <device name="SND_DEVICE_IN_UNPROCESSED_MIC" acdb_id="143"/>
41 <device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" acdb_id="144"/>
42 <device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" acdb_id="145"/>
43 <device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" acdb_id="146"/>
44 <device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" acdb_id="147"/>
45 <device name="SND_DEVICE_IN_USB_HEADSET_HEX_MIC" acdb_id="162"/>
46 <device name="SND_DEVICE_IN_USB_HEADSET_HEX_MIC_AEC" acdb_id="162"/>
47 <device name="SND_DEVICE_IN_UNPROCESSED_USB_HEADSET_HEX_MIC" acdb_id="162"/>
48 <device name="SND_DEVICE_IN_VOCE_RECOG_USB_HEADSET_HEX_MIC" acdb_id="162"/>
Preetam Singh Ranawat78f147d2020-04-13 16:24:34 +053049 <device name="SND_DEVICE_IN_VOICE_HEARING_AID" acdb_id="11"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +053050 </acdb_ids>
51
52 <module_ids>
53 <aec>
54 <device name="SND_DEVICE_IN_SPEAKER_TMIC_AEC_NS" module_id="0x10F35" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
55 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" module_id="0x10F34" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
56 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
57 <device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
58 <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
59 <device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x01"/>
60 </aec>
61 <ns>
62 <device name="SND_DEVICE_IN_SPEAKER_TMIC_AEC_NS" module_id="0x10F35" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
63 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" module_id="0x10F34" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
64 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
65 <device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
66 <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" module_id="0x10F33" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
67 <device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" module_id="0x10F31" instance_id="0x0" param_id="0x10EAF" param_value="0x02"/>
68 </ns>
69 </module_ids>
70
71 <bit_width_configs>
72 <device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/>
73 </bit_width_configs>
74 <pcm_ids>
75 <usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="9"/>
Vatsal Bucha7c8fb7a2019-06-06 18:26:30 +053076 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="7"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +053077 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="11"/>
Mingshu Pange5046d72020-05-27 16:12:30 +080078 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="40"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +053079 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="24"/>
80 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD5" type="out" id="25"/>
81 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD6" type="out" id="26"/>
82 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD7" type="out" id="27"/>
83 <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD8" type="out" id="28"/>
84 <usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="2"/>
85 <usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="2"/>
86 <usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="15"/>
87 <usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="15"/>
88 <usecase name="USECASE_VOWLAN_CALL" type="in" id="-1"/>
89 <usecase name="USECASE_VOWLAN_CALL" type="out" id="-1"/>
90 <usecase name="USECASE_AUDIO_PLAYBACK_FM" type="out" id="30"/>
Vatsal Bucha88dae232019-05-31 11:52:49 +053091 <usecase name="USECASE_AUDIO_PLAYBACK_FM" type="in" id="38"/>
92 <usecase name="USECASE_AUDIO_SPKR_CALIB_RX" type="out" id="30"/>
Vatsal Bucha55fad7e2019-05-09 18:22:42 +053093 <usecase name="USECASE_AUDIO_SPKR_CALIB_TX" type="in" id="33"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +053094 <usecase name="USECASE_AUDIO_PLAYBACK_AFE_PROXY" type="out" id="5"/>
95 <usecase name="USECASE_AUDIO_RECORD_AFE_PROXY" type="in" id="6"/>
96 <usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="13" />
Revathi Uddaraju87440f92020-07-27 11:48:41 +053097 <usecase name="USECASE_AUDIO_RECORD_VOIP_LOW_LATENCY" type="in" id="13" />
Manisha Agarwal0173f7e2019-02-11 12:57:59 +053098 <usecase name="USECASE_AUDIO_PLAYBACK_ULL" type="out" id="13" />
99 <usecase name="USECASE_AUDIO_PLAYBACK_SILENCE" type="out" id="23" />
100 <usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="12" />
101 <usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="12" />
102 <usecase name="USECASE_AUDIO_PLAYBACK_MMAP" type="out" id="29" />
103 <usecase name="USECASE_AUDIO_RECORD_MMAP" type="in" id="29" />
Vatsal Bucha55fad7e2019-05-09 18:22:42 +0530104 <usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="36" />
105 <usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="out" id="36" />
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530106 <usecase name="USECASE_INCALL_MUSIC_UPLINK" type="out" id="23" />
Dhananjay Kumarfac608c2020-07-09 01:19:21 +0530107 <usecase name="USECASE_INCALL_MUSIC_UPLINK2" type="out" id="23" />
Manisha Agarwal547acfd2019-07-02 11:33:53 +0530108 <usecase name="USECASE_AUDIO_RECORD_COMPRESS2" type="in" id="37" />
Zhou Songd659a632019-11-11 17:54:20 +0800109 <usecase name="USECASE_INCALL_REC_UPLINK" type="in" id="23" />
110 <usecase name="USECASE_INCALL_REC_DOWNLINK" type="in" id="23" />
111 <usecase name="USECASE_INCALL_REC_UPLINK_AND_DOWNLINK" type="in" id="23" />
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530112 </pcm_ids>
113 <config_params>
114 <param key="spkr_1_tz_name" value="wsatz.13"/>
115 <param key="spkr_2_tz_name" value="wsatz.14"/>
116 <!-- In the below value string, the value indicates default mono -->
117 <!-- speaker. It can be set to either left or right -->
118 <param key="mono_speaker" value="left"/>
119 <!-- In the below value string, first parameter indicates size -->
120 <!-- followed by perf lock options -->
121 <param key="perf_lock_opts" value="4, 0x40400000, 0x1, 0x40C00000, 0x1"/>
122 <param key="native_audio_mode" value="src"/>
123 <param key="input_mic_max_count" value="3"/>
124 <param key="true_32_bit" value="true"/>
125 <!-- In the below value string, the value indicates sidetone gain in dB -->
126 <param key="usb_sidetone_gain" value="35"/>
127 </config_params>
128 <gain_db_to_level_mapping>
129 <gain_level_map db="-59" level="5"/>
130 <gain_level_map db="-17.4" level="4"/>
131 <gain_level_map db="-13.8" level="3"/>
132 <gain_level_map db="-10.2" level="2"/>
133 <gain_level_map db="0" level="1"/>
134 </gain_db_to_level_mapping>
135 <backend_names>
136 <device name="SND_DEVICE_OUT_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
137 <device name="SND_DEVICE_OUT_HEADPHONES_44_1" backend="headphones-44.1" interface="RX_CDC_DMA_RX_0"/>
138 <device name="SND_DEVICE_OUT_BT_SCO_WB" backend="bt-sco-wb" interface="SLIMBUS_7_RX"/>
139 <device name="SND_DEVICE_OUT_BT_SCO" backend="bt-sco" interface="SLIMBUS_7_RX"/>
140 <device name="SND_DEVICE_OUT_BT_A2DP" backend="bt-a2dp" interface="SLIMBUS_7_RX"/>
141 <device name="SND_DEVICE_OUT_LINE" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
142 <device name="SND_DEVICE_OUT_ANC_HEADSET" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
143 <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
144 <device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
145 <device name="SND_DEVICE_OUT_SPEAKER_AND_ANC_HEADSET" backend="speaker-and-headphones" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
146 <device name="SND_DEVICE_OUT_VOICE_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
Manisha Agarwal547acfd2019-07-02 11:33:53 +0530147 <device name="SND_DEVICE_OUT_VOICE_HEADSET" backend="headset" interface="RX_CDC_DMA_RX_0"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530148 <device name="SND_DEVICE_OUT_VOICE_ANC_HEADSET" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
149 <device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
150 <device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
Revathi Uddaraju56533e02019-07-24 15:45:20 +0530151 <device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADSET" backend="headset" interface="RX_CDC_DMA_RX_0"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530152 <device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones" interface="RX_CDC_DMA_RX_0"/>
Revathi Uddaraju56533e02019-07-24 15:45:20 +0530153 <device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADSET" backend="headset" interface="RX_CDC_DMA_RX_0"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530154 <device name="SND_DEVICE_OUT_HANDSET" interface="WSA_CDC_DMA_RX_0"/>
155 <device name="SND_DEVICE_OUT_SPEAKER" interface="WSA_CDC_DMA_RX_0"/>
156 <device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_1" interface="WSA_CDC_DMA_RX_0"/>
157 <device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_2" interface="WSA_CDC_DMA_RX_0"/>
158 <device name="SND_DEVICE_OUT_SPEAKER_REVERSE" interface="WSA_CDC_DMA_RX_0"/>
159 <device name="SND_DEVICE_OUT_SPEAKER_VBAT" interface="WSA_CDC_DMA_RX_0"/>
160 <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_1" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
161 <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_2" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
162 <device name="SND_DEVICE_OUT_VOICE_HANDSET" interface="WSA_CDC_DMA_RX_0"/>
163 <device name="SND_DEVICE_IN_HANDSET_GENERIC_QMIC" interface="TX_CDC_DMA_TX_3"/>
164 <device name="SND_DEVICE_OUT_VOICE_SPEAKER" interface="WSA_CDC_DMA_RX_0"/>
Aditya Bavanari0a46a302019-06-17 18:55:44 +0530165 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_STEREO" interface="WSA_CDC_DMA_RX_0"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530166 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_VBAT" interface="WSA_CDC_DMA_RX_0"/>
167 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2" interface="WSA_CDC_DMA_RX_0"/>
168 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_VBAT" interface="WSA_CDC_DMA_RX_0"/>
169 <device name="SND_DEVICE_OUT_SPEAKER_AND_HDMI" interface="WSA_CDC_DMA_RX_0-and-HDMI"/>
170 <device name="SND_DEVICE_OUT_SPEAKER_AND_DISPLAY_PORT" interface="WSA_CDC_DMA_RX_0-and-DISPLAY_PORT"/>
171 <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP" interface="WSA_CDC_DMA_RX_0-and-SLIMBUS_7_RX"/>
172 <device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" interface="WSA_CDC_DMA_RX_0"/>
173 <device name="SND_DEVICE_OUT_ANC_FB_HEADSET" interface="RX_CDC_DMA_RX_0"/>
174 <device name="SND_DEVICE_OUT_VOICE_ANC_FB_HEADSET" interface="RX_CDC_DMA_RX_0"/>
175 <device name="SND_DEVICE_OUT_ANC_HANDSET" interface="WSA_CDC_DMA_RX_0"/>
176 <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" interface="WSA_CDC_DMA_RX_0"/>
177 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" interface="WSA_CDC_DMA_RX_0"/>
178 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED" interface="WSA_CDC_DMA_RX_0"/>
179 <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT" interface="WSA_CDC_DMA_RX_0"/>
180 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED_VBAT" interface="WSA_CDC_DMA_RX_0"/>
181 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT" interface="WSA_CDC_DMA_RX_0"/>
182 <device name="SND_DEVICE_OUT_SPEAKER_WSA" interface="WSA_CDC_DMA_RX_0"/>
183 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_WSA" interface="WSA_CDC_DMA_RX_0"/>
184 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_WSA" interface="WSA_CDC_DMA_RX_0"/>
185 <device name="SND_DEVICE_IN_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
186 <device name="SND_DEVICE_IN_HANDSET_MIC_EXTERNAL" interface="TX_CDC_DMA_TX_3"/>
187 <device name="SND_DEVICE_IN_HANDSET_MIC_AEC" interface="TX_CDC_DMA_TX_3"/>
188 <device name="SND_DEVICE_IN_HANDSET_MIC_NS" interface="TX_CDC_DMA_TX_3"/>
189 <device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
190 <device name="SND_DEVICE_IN_HANDSET_DMIC" interface="TX_CDC_DMA_TX_3"/>
191 <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
192 <device name="SND_DEVICE_IN_HANDSET_DMIC_NS" interface="TX_CDC_DMA_TX_3"/>
193 <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
194 <device name="SND_DEVICE_IN_SPEAKER_MIC" interface="TX_CDC_DMA_TX_3"/>
195 <device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" interface="TX_CDC_DMA_TX_3"/>
196 <device name="SND_DEVICE_IN_SPEAKER_MIC_NS" interface="TX_CDC_DMA_TX_3"/>
197 <device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
198 <device name="SND_DEVICE_IN_SPEAKER_DMIC" interface="TX_CDC_DMA_TX_3"/>
199 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
200 <device name="SND_DEVICE_IN_SPEAKER_DMIC_NS" interface="TX_CDC_DMA_TX_3"/>
201 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
Manisha Agarwal547acfd2019-07-02 11:33:53 +0530202 <device name="SND_DEVICE_IN_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
203 <device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
204 <device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
205 <device name="SND_DEVICE_IN_VOICE_TTY_FULL_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
206 <device name="SND_DEVICE_IN_VOICE_TTY_HCO_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
207 <device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
208 <device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
209 <device name="SND_DEVICE_IN_HEADSET_MIC_AEC" backend="headset-mic" interface="TX_CDC_DMA_TX_4"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530210 <device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" interface="TX_CDC_DMA_TX_3"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530211 <device name="SND_DEVICE_IN_HDMI_MIC" interface="HDMI"/>
212 <device name="SND_DEVICE_IN_BT_SCO_MIC" interface="SLIMBUS_7_TX"/>
213 <device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" interface="SLIMBUS_7_TX"/>
214 <device name="SND_DEVICE_IN_BT_SCO_MIC_WB" interface="SLIMBUS_7_TX"/>
215 <device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" interface="SLIMBUS_7_TX"/>
216 <device name="SND_DEVICE_IN_CAMCORDER_MIC" interface="TX_CDC_DMA_TX_3"/>
217 <device name="SND_DEVICE_IN_VOICE_DMIC" interface="TX_CDC_DMA_TX_3"/>
218 <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC" interface="TX_CDC_DMA_TX_3"/>
219 <device name="SND_DEVICE_IN_VOICE_SPEAKER_QMIC" interface="TX_CDC_DMA_TX_3"/>
220 <device name="SND_DEVICE_IN_VOICE_TTY_FULL_HEADSET_MIC" interface="TX_CDC_DMA_TX_3"/>
221 <device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
222 <device name="SND_DEVICE_IN_VOICE_TTY_HCO_HEADSET_MIC" interface="TX_CDC_DMA_TX_3"/>
223 <device name="SND_DEVICE_IN_VOICE_REC_MIC" interface="TX_CDC_DMA_TX_3"/>
224 <device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" interface="TX_CDC_DMA_TX_3"/>
225 <device name="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
226 <device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" interface="TX_CDC_DMA_TX_3"/>
227 <device name="SND_DEVICE_IN_AANC_HANDSET_MIC" interface="TX_CDC_DMA_TX_3"/>
228 <device name="SND_DEVICE_IN_QUAD_MIC" interface="TX_CDC_DMA_TX_3"/>
Dhananjay Kumar8a69fd42019-06-25 12:35:00 +0530229 <device name="SND_DEVICE_IN_HANDSET_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
230 <device name="SND_DEVICE_IN_SPEAKER_DMIC_STEREO" interface="TX_CDC_DMA_TX_3"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530231 <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" interface="WSA_CDC_DMA_TX_0"/>
232 <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" interface="WSA_CDC_DMA_TX_0"/>
233 <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" interface="WSA_CDC_DMA_TX_0"/>
234 <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
235 <device name="SND_DEVICE_IN_SPEAKER_DMIC_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
236 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
237 <device name="SND_DEVICE_IN_SPEAKER_DMIC_NS_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
238 <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" interface="TX_CDC_DMA_TX_3"/>
239 <device name="SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC" interface="TX_CDC_DMA_TX_3"/>
240 <device name="SND_DEVICE_IN_HANDSET_QMIC" interface="TX_CDC_DMA_TX_3"/>
241 <device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
242 <device name="SND_DEVICE_IN_SPEAKER_QMIC_NS" interface="TX_CDC_DMA_TX_3"/>
243 <device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
244 <device name="SND_DEVICE_IN_THREE_MIC" interface="TX_CDC_DMA_TX_3"/>
Preetam Singh Ranawat78f147d2020-04-13 16:24:34 +0530245 <device name="SND_DEVICE_IN_VOICE_HEARING_AID" interface="TX_CDC_DMA_TX_3"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530246 <device name="SND_DEVICE_IN_HANDSET_TMIC_FLUENCE_PRO" interface="TX_CDC_DMA_TX_3"/>
247 <device name="SND_DEVICE_IN_HANDSET_TMIC" interface="TX_CDC_DMA_TX_3"/>
248 <device name="SND_DEVICE_IN_HANDSET_TMIC_AEC" interface="TX_CDC_DMA_TX_3"/>
249 <device name="SND_DEVICE_IN_HANDSET_TMIC_NS" interface="TX_CDC_DMA_TX_3"/>
250 <device name="SND_DEVICE_IN_HANDSET_TMIC_AEC_NS" interface="TX_CDC_DMA_TX_3"/>
251 <device name="SND_DEVICE_IN_VOICE_REC_TMIC" interface="TX_CDC_DMA_TX_3"/>
252 <device name="SND_DEVICE_IN_UNPROCESSED_MIC" interface="TX_CDC_DMA_TX_3"/>
253 <device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" interface="TX_CDC_DMA_TX_3"/>
254 <device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" interface="TX_CDC_DMA_TX_3"/>
255 <device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" interface="TX_CDC_DMA_TX_3"/>
256 <device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" interface="TX_CDC_DMA_TX_3"/>
257 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_HEADPHONES" backend="speaker-and-headphones" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
258 <device name="SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_ANC_HEADSET" backend="speaker-and-headphones" interface="WSA_CDC_DMA_RX_0-and-RX_CDC_DMA_RX_0"/>
259 <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO" backend="speaker-and-bt-sco" interface="WSA_CDC_DMA_RX_0-and-SLIMBUS_7_RX"/>
260 <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb" interface="WSA_CDC_DMA_RX_0-and-SLIMBUS_7_RX"/>
Mingshu Pang01e6c9e2020-03-04 14:19:06 +0800261 <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_SWB" backend="speaker-and-bt-sco-swb" interface="WSA_CDC_DMA_RX_0-and-SLIMBUS_7_RX"/>
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530262 </backend_names>
263 <!-- below values are for ref purpose to OEM, doesn't contain actual hardware info on MTP -->
264 <microphone_characteristics>
265 <microphone valid_mask="31" device_id="builtin_mic_1" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="bottom" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
266 group="0" index_in_the_group="0" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="93"
267 frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
268 responses="-0.78 -0.71 -0.64 -0.60 -0.55 -0.50 -0.47 -0.42 -0.39 -0.36 -0.34 -0.33 -0.32 -0.29 -0.28 -0.28 -0.27 -0.25 -0.25 -0.24 -0.23 -0.23 -0.22 -0.22 -0.19 -0.17 -0.15 -0.15 -0.14 -0.14 -0.12 -0.11 -0.10 -0.10 -0.08 -0.07 -0.07 -0.04 -0.03 -0.01 0.00 0.04 0.06 0.07 0.08 0.13 0.09 0.14 0.19 0.23 0.28 0.29 0.31 0.37 0.88 0.86 0.77 0.78 0.84 0.86 1.05 1.12 1.18 1.25 1.43 1.66 1.83 2.02 2.23 2.59 2.84 3.35 4.01 6.82 6.62 6.42 7.30 8.23 7.54 12.68 13.76 18.69 19.68 20.90 23.70 25.10 21.65 16.18 18.84 25.44 23.48 23.22 24.89"
269 sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0269 0.0058 0.0079" />
270 <microphone valid_mask="31" device_id="builtin_mic_2" type="AUDIO_DEVICE_IN_BACK_MIC" address="back" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
271 group="0" index_in_the_group="1" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
272 frequencies="106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
273 responses="-0.75 -0.74 -0.69 -0.65 -0.62 -0.61 -0.56 -0.53 -0.50 -0.47 -0.43 -0.40 -0.37 -0.36 -0.33 -0.30 -0.28 -0.25 -0.24 -0.24 -0.24 -0.25 -0.24 -0.12 -0.10 -0.08 -0.09 -0.07 -0.07 -0.06 -0.06 -0.06 -0.05 -0.04 -0.05 -0.04 -0.01 0.02 0.02 0.00 0.02 0.03 0.07 0.10 0.10 0.13 0.01 0.01 0.10 0.11 0.19 0.24 0.38 0.46 0.26 0.27 0.43 0.76 0.75 1.09 1.09 0.94 1.06 1.21 1.47 1.45 1.36 2.07 2.85 2.90 3.85 4.65 5.84 5.46 6.15 7.50 8.30 10.62 12.70 16.65 20.95 25.41 26.32 20.20 16.60 11.24 7.85 7.62 20.19 7.32 2.87 5.18"
274 sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 1.0 0.0" geometric_location="0.0546 0.1456 0.00415" />
275 <microphone valid_mask="31" device_id="builtin_mic_3" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
276 group="0" index_in_the_group="2" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
277 frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00"
278 responses="-9.24 -9.31 -9.39 -9.45 -9.46 -9.47 -9.50 -9.52 -9.51 -9.52 -9.51 -9.50 -9.49 -9.47 -9.48 -9.49 -9.48 -9.50 -9.51 -9.53 -9.55 -9.59 -9.63 -9.67 -9.58 -9.57 -9.65 -9.68 -9.71 -9.75 -9.79 -9.84 -9.87 -9.87 -9.90 -9.90 -9.91 -9.97 -10.01 -10.05 -9.85 -9.93 -9.94 -9.98 -10.04 -10.12 -10.28 -10.25 -10.01 -9.86 -9.81 -9.82 -9.61 -9.46 -8.27 -8.42 -8.98 -8.99 -8.82 -9.21 -8.92 -8.97 -9.30 -9.44 -9.52 -9.28 -9.09 -8.81 -7.02 -5.72 -5.30 -7.26 -8.39 -12.28 -8.23 -6.99 -5.52 -4.87 -3.82 -6.09 0.00 -2.15 -0.26 1.48 5.22 10.92 6.41 9.55 12.96 3.35 22.00 19.75"
279 sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0274 0.14065 0.0079" />
280 <microphone valid_mask="31" device_id="builtin_mic_4" type="AUDIO_DEVICE_IN_BACK_MIC" address="" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
281 group="0" index_in_the_group="3" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
282 frequencies="106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
283 responses="-0.75 -0.74 -0.69 -0.65 -0.62 -0.61 -0.56 -0.53 -0.50 -0.47 -0.43 -0.40 -0.37 -0.36 -0.33 -0.30 -0.28 -0.25 -0.24 -0.24 -0.24 -0.25 -0.24 -0.12 -0.10 -0.08 -0.09 -0.07 -0.07 -0.06 -0.06 -0.06 -0.05 -0.04 -0.05 -0.04 -0.01 0.02 0.02 0.00 0.02 0.03 0.07 0.10 0.10 0.13 0.01 0.01 0.10 0.11 0.19 0.24 0.38 0.46 0.26 0.27 0.43 0.76 0.75 1.09 1.09 0.94 1.06 1.21 1.47 1.45 1.36 2.07 2.85 2.90 3.85 4.65 5.84 5.46 6.15 7.50 8.30 10.62 12.70 16.65 20.95 25.41 26.32 20.20 16.60 11.24 7.85 7.62 20.19 7.32 2.87 5.18"
284 sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 1.0 0.0" geometric_location="0.0546 0.1456 0.00415" />
285 </microphone_characteristics>
286 <snd_devices>
287 <input_snd_device>
288 <input_snd_device_mic_mapping>
289 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_MIC">
290 <mic_info mic_device_id="builtin_mic_1"
291 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
292 </snd_dev>
293 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_MIC_AEC">
294 <mic_info mic_device_id="builtin_mic_1"
295 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
296 </snd_dev>
297 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_MIC_NS">
298 <mic_info mic_device_id="builtin_mic_1"
299 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
300 </snd_dev>
301 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_MIC_AEC_NS">
302 <mic_info mic_device_id="builtin_mic_1"
303 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
304 </snd_dev>
305 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC">
306 <mic_info mic_device_id="builtin_mic_1"
307 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
308 <mic_info mic_device_id="builtin_mic_2"
309 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
310 </snd_dev>
311 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_AEC">
312 <mic_info mic_device_id="builtin_mic_1"
313 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
314 <mic_info mic_device_id="builtin_mic_2"
315 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
316 </snd_dev>
317 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_NS">
318 <mic_info mic_device_id="builtin_mic_1"
319 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
320 <mic_info mic_device_id="builtin_mic_2"
321 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
322 </snd_dev>
323 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS">
324 <mic_info mic_device_id="builtin_mic_1"
325 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
326 <mic_info mic_device_id="builtin_mic_2"
327 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
328 </snd_dev>
329 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_MIC">
330 <mic_info mic_device_id="builtin_mic_1"
331 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
332 </snd_dev>
333 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_MIC_AEC">
334 <mic_info mic_device_id="builtin_mic_1"
335 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
336 </snd_dev>
337 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_MIC_NS">
338 <mic_info mic_device_id="builtin_mic_1"
339 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
340 </snd_dev>
341 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS">
342 <mic_info mic_device_id="builtin_mic_1"
343 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
344 </snd_dev>
345 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC">
346 <mic_info mic_device_id="builtin_mic_1"
347 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
348 <mic_info mic_device_id="builtin_mic_2"
349 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
350 </snd_dev>
351 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_AEC">
352 <mic_info mic_device_id="builtin_mic_1"
353 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
354 <mic_info mic_device_id="builtin_mic_2"
355 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
356 </snd_dev>
357 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_NS">
358 <mic_info mic_device_id="builtin_mic_1"
359 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
360 <mic_info mic_device_id="builtin_mic_2"
361 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
362 </snd_dev>
363 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS">
364 <mic_info mic_device_id="builtin_mic_1"
365 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
366 <mic_info mic_device_id="builtin_mic_2"
367 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
368 </snd_dev>
369 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_SPEAKER_MIC">
370 <mic_info mic_device_id="builtin_mic_1"
371 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
372 </snd_dev>
373 <snd_dev in_snd_device="SND_DEVICE_IN_CAMCORDER_MIC">
374 <mic_info mic_device_id="builtin_mic_1"
375 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
376 </snd_dev>
377 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_DMIC">
378 <mic_info mic_device_id="builtin_mic_1"
379 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
380 <mic_info mic_device_id="builtin_mic_2"
381 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
382 </snd_dev>
383 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_SPEAKER_DMIC">
384 <mic_info mic_device_id="builtin_mic_1"
385 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
386 <mic_info mic_device_id="builtin_mic_2"
387 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
388 </snd_dev>
389 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_SPEAKER_TMIC">
390 <mic_info mic_device_id="builtin_mic_1"
391 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
392 <mic_info mic_device_id="builtin_mic_2"
393 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
394 <mic_info mic_device_id="builtin_mic_3"
395 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
396 </snd_dev>
397 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_SPEAKER_QMIC">
398 <mic_info mic_device_id="builtin_mic_1"
399 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
400 <mic_info mic_device_id="builtin_mic_2"
401 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
402 <mic_info mic_device_id="builtin_mic_3"
403 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
404 <mic_info mic_device_id="builtin_mic_4"
405 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
406 </snd_dev>
407 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_MIC">
408 <mic_info mic_device_id="builtin_mic_1"
409 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
410 </snd_dev>
411 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_MIC_NS">
412 <mic_info mic_device_id="builtin_mic_1"
413 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
414 </snd_dev>
415 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO">
416 <mic_info mic_device_id="builtin_mic_1"
417 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
418 <mic_info mic_device_id="builtin_mic_2"
419 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
420 </snd_dev>
421 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE">
422 <mic_info mic_device_id="builtin_mic_1"
423 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
424 <mic_info mic_device_id="builtin_mic_2"
425 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
426 </snd_dev>
427 <snd_dev in_snd_device="SND_DEVICE_IN_AANC_HANDSET_MIC">
428 <mic_info mic_device_id="builtin_mic_1"
429 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
430 <mic_info mic_device_id="builtin_mic_2"
431 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
432 <mic_info mic_device_id="builtin_mic_3"
433 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
434 </snd_dev>
435 <snd_dev in_snd_device="SND_DEVICE_IN_QUAD_MIC">
436 <mic_info mic_device_id="builtin_mic_1"
437 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
438 <mic_info mic_device_id="builtin_mic_2"
439 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
440 <mic_info mic_device_id="builtin_mic_3"
441 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
442 <mic_info mic_device_id="builtin_mic_4"
443 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
444 </snd_dev>
Dhananjay Kumar8a69fd42019-06-25 12:35:00 +0530445 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_DMIC_STEREO">
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530446 <mic_info mic_device_id="builtin_mic_1"
447 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
448 <mic_info mic_device_id="builtin_mic_2"
449 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
450 </snd_dev>
Dhananjay Kumar8a69fd42019-06-25 12:35:00 +0530451 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_STEREO">
Manisha Agarwal0173f7e2019-02-11 12:57:59 +0530452 <mic_info mic_device_id="builtin_mic_1"
453 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
454 <mic_info mic_device_id="builtin_mic_2"
455 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
456 </snd_dev>
457 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_BROADSIDE">
458 <mic_info mic_device_id="builtin_mic_1"
459 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
460 <mic_info mic_device_id="builtin_mic_3"
461 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
462 </snd_dev>
463 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_BROADSIDE">
464 <mic_info mic_device_id="builtin_mic_1"
465 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
466 <mic_info mic_device_id="builtin_mic_3"
467 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
468 </snd_dev>
469 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_AEC_BROADSIDE">
470 <mic_info mic_device_id="builtin_mic_1"
471 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
472 <mic_info mic_device_id="builtin_mic_3"
473 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
474 </snd_dev>
475 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_NS_BROADSIDE">
476 <mic_info mic_device_id="builtin_mic_1"
477 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
478 <mic_info mic_device_id="builtin_mic_3"
479 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
480 </snd_dev>
481 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE">
482 <mic_info mic_device_id="builtin_mic_1"
483 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
484 <mic_info mic_device_id="builtin_mic_3"
485 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
486 </snd_dev>
487 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC">
488 <mic_info mic_device_id="builtin_mic_1"
489 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
490 <mic_info mic_device_id="builtin_mic_2"
491 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
492 <mic_info mic_device_id="builtin_mic_3"
493 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
494 <mic_info mic_device_id="builtin_mic_4"
495 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
496 </snd_dev>
497 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_QMIC">
498 <mic_info mic_device_id="builtin_mic_1"
499 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
500 <mic_info mic_device_id="builtin_mic_2"
501 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
502 <mic_info mic_device_id="builtin_mic_3"
503 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
504 <mic_info mic_device_id="builtin_mic_4"
505 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
506 </snd_dev>
507 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_QMIC_AEC">
508 <mic_info mic_device_id="builtin_mic_1"
509 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
510 <mic_info mic_device_id="builtin_mic_2"
511 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
512 <mic_info mic_device_id="builtin_mic_3"
513 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
514 <mic_info mic_device_id="builtin_mic_4"
515 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
516 </snd_dev>
517 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_QMIC_NS">
518 <mic_info mic_device_id="builtin_mic_1"
519 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
520 <mic_info mic_device_id="builtin_mic_2"
521 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
522 <mic_info mic_device_id="builtin_mic_3"
523 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
524 <mic_info mic_device_id="builtin_mic_4"
525 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
526 </snd_dev>
527 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_QMIC_AEC_NS">
528 <mic_info mic_device_id="builtin_mic_1"
529 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
530 <mic_info mic_device_id="builtin_mic_2"
531 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
532 <mic_info mic_device_id="builtin_mic_3"
533 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
534 <mic_info mic_device_id="builtin_mic_4"
535 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
536 </snd_dev>
537 <snd_dev in_snd_device="SND_DEVICE_IN_THREE_MIC">
538 <mic_info mic_device_id="builtin_mic_1"
539 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
540 <mic_info mic_device_id="builtin_mic_2"
541 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
542 <mic_info mic_device_id="builtin_mic_3"
543 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
544 </snd_dev>
545 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_TMIC_FLUENCE_PRO">
546 <mic_info mic_device_id="builtin_mic_1"
547 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
548 <mic_info mic_device_id="builtin_mic_2"
549 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
550 <mic_info mic_device_id="builtin_mic_3"
551 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
552 </snd_dev>
553 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_TMIC">
554 <mic_info mic_device_id="builtin_mic_1"
555 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
556 <mic_info mic_device_id="builtin_mic_2"
557 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
558 <mic_info mic_device_id="builtin_mic_3"
559 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
560 </snd_dev>
561 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_TMIC_AEC">
562 <mic_info mic_device_id="builtin_mic_1"
563 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
564 <mic_info mic_device_id="builtin_mic_2"
565 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
566 <mic_info mic_device_id="builtin_mic_3"
567 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
568 </snd_dev>
569 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_TMIC_NS">
570 <mic_info mic_device_id="builtin_mic_1"
571 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
572 <mic_info mic_device_id="builtin_mic_2"
573 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
574 <mic_info mic_device_id="builtin_mic_3"
575 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
576 </snd_dev>
577 <snd_dev in_snd_device="SND_DEVICE_IN_SPEAKER_TMIC_AEC_NS">
578 <mic_info mic_device_id="builtin_mic_1"
579 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
580 <mic_info mic_device_id="builtin_mic_2"
581 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
582 <mic_info mic_device_id="builtin_mic_3"
583 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
584 </snd_dev>
585 <snd_dev in_snd_device="SND_DEVICE_IN_VOICE_REC_TMIC">
586 <mic_info mic_device_id="builtin_mic_1"
587 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
588 <mic_info mic_device_id="builtin_mic_2"
589 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
590 <mic_info mic_device_id="builtin_mic_3"
591 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
592 </snd_dev>
593 <snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_MIC">
594 <mic_info mic_device_id="builtin_mic_1"
595 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
596 </snd_dev>
597 <snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC">
598 <mic_info mic_device_id="builtin_mic_1"
599 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
600 <mic_info mic_device_id="builtin_mic_2"
601 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
602 </snd_dev>
603 <snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_THREE_MIC">
604 <mic_info mic_device_id="builtin_mic_1"
605 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
606 <mic_info mic_device_id="builtin_mic_2"
607 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
608 <mic_info mic_device_id="builtin_mic_3"
609 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
610 </snd_dev>
611 <snd_dev in_snd_device="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC">
612 <mic_info mic_device_id="builtin_mic_1"
613 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
614 <mic_info mic_device_id="builtin_mic_2"
615 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
616 <mic_info mic_device_id="builtin_mic_3"
617 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
618 <mic_info mic_device_id="builtin_mic_4"
619 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
620 </snd_dev>
621 <snd_dev in_snd_device="SND_DEVICE_IN_HANDSET_GENERIC_QMIC">
622 <mic_info mic_device_id="builtin_mic_1"
623 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
624 <mic_info mic_device_id="builtin_mic_2"
625 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
626 <mic_info mic_device_id="builtin_mic_3"
627 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
628 <mic_info mic_device_id="builtin_mic_4"
629 channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
630 </snd_dev>
631 </input_snd_device_mic_mapping>
632 </input_snd_device>
633 </snd_devices>
634</audio_platform_info>
635