blob: 846845240b59efe37fef0d09d1554cf25c731033 [file] [log] [blame]
Xiaoyu Yea11fdf82017-11-21 16:49:32 -08001<?xml version="1.0" encoding="ISO-8859-1"?>
2<!--- Copyright (c) 2013-2018, 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<!--- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
26<!--- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
27<!--- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
28<sound_trigger_platform_info>
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -070029 <param version="0x0103" /> <!-- this must be the first param -->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080030<!--- Version History: -->
31<!--- 0x0101: Legacy version. -->
32<!--- 0x0102: Includes acdb_ids param with the gcs_usecase tag. This matches -->
33<!--- the gcs_usecase with the acdb device that uses it. -->
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -070034<!--- 0x0103: app_type and in_channels added to <lsm usecase> and out_channels -->
35<!--- added to <adm_config> -->
36
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080037 <common_config>
38 <param max_cpe_sessions="1" />
39 <param max_wdsp_sessions="2" />
40 <param max_ape_sessions="8" />
41 <param enable_failure_detection="false" />
42 <param support_device_switch="false" />
43 <!-- Transition will only occur if execution_type="DYNAMIC" -->
44 <param transit_to_adsp_on_playback="false" />
Zhou Song27f0bcf2018-07-06 14:43:20 +080045 <param transit_to_adsp_on_battery_charging="false" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080046 <!-- Below backend params must match with port used in mixer path file -->
47 <!-- param used to configure backend sample rate, format and channels -->
Zhou Song6edc00c2018-09-07 00:09:07 +080048 <param backend_port_name="SLIM_1_TX" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080049 <!-- Param used to match and obtain device backend index -->
Zhou Song6edc00c2018-09-07 00:09:07 +080050 <param backend_dai_name="SLIMBUS_1_TX" />
51 <!-- Param used to indicate if SVA has dedicated SLIM ports -->
52 <param dedicated_sva_path="true" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080053 </common_config>
54 <acdb_ids>
55 <param DEVICE_HANDSET_MIC_APE="100" />
56 <param DEVICE_HANDSET_MIC_CPE="128" />
57 <param DEVICE_HANDSET_MIC_ECPP_CPE="128" />
58 <param DEVICE_HANDSET_TMIC_CPE="130" />
Vignesh Kulothunganf606f782018-04-10 11:49:12 -070059 <param DEVICE_HANDSET_TMIC_APE="157" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080060 <param DEVICE_HANDSET_MIC_PP_APE="135" />
61 <param DEVICE_HANDSET_QMIC_APE="137" />
62 <param DEVICE_HEADSET_MIC_CPE="139" />
Yunfei Zhang2d9e21f2019-05-27 11:33:41 +080063 <param DEVICE_HEADSET_MIC_APE="141" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080064 <param DEVICE_HANDSET_DMIC_APE="149" />
Dallas Delaney299ea1f2018-06-01 21:23:48 -070065 <param DEVICE_HANDSET_DMIC_CPE="148" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080066 </acdb_ids>
Dallas Delaney299ea1f2018-06-01 21:23:48 -070067
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080068 <!-- Multiple sound_model_config tags can be listed, each with unique -->
69 <!-- vendor_uuid. The below tag represents QTI SVA engine sound model -->
70 <!-- configuration. ISV must use their own unique vendor_uuid. -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -070071
72 <!-- QTI SVA -->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080073 <sound_model_config>
74 <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -070075 <param execution_type="DYNAMIC" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080076 <param library="libsmwrapper.so" />
77 <param max_cpe_phrases="6" />
78 <param max_cpe_users="3" />
79 <param max_ape_phrases="20" />
80 <param max_ape_users="10" />
81 <!-- Profile specific data which the algorithm can support -->
82 <param sample_rate="16000" />
83 <param bit_width="16" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -070084 <param out_channels="1"/> <!-- Module output channels -->
85
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080086 <!-- adm_cfg_profile should match with the one defined under adm_config -->
87 <!-- Set it to NONE if LSM directly connects to AFE -->
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -070088 <param adm_cfg_profile="FFECNS" />
89 <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC" -->
90 <!-- "FLUENCE_QMIC". Param value is valid when adm_cfg_profile -->
91 <!-- is one of FLUENCE, FLUENCE_STEREO, FFECNS values -->
92 <param fluence_type="FLUENCE_TMIC" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -080093 <!-- wdsp_fluence_type: fluence disabled: "NONE" -->
94 <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_TMIC", "FLUENCE_QMIC" -->
95 <param wdsp_fluence_type="NONE" />
Dallas Delaney299ea1f2018-06-01 21:23:48 -070096 <arm_ss_usecase>
97 <!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION", "CUSTOM_DETECTION" -->
98 <param sm_detection_type= "KEYWORD_DETECTION" />
99 <param sm_id="0x2" />
100 <param module_lib="libcapiv2svacnn.so"/>
101 <param sample_rate="16000"/>
102 <param bit_wdith="16"/>
103 <param channel_count="1"/>
104 </arm_ss_usecase>
105 <arm_ss_usecase>
106 <param sm_detection_type= "USER_VERIFICATION" />
107 <param sm_id="0x4" />
108 <param module_lib="libcapiv2vop.so"/>
109 <param sample_rate="16000"/>
110 <param bit_wdith="16"/>
111 <param channel_count="1"/>
112 </arm_ss_usecase>
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800113 <gcs_usecase>
114 <param uid="0x1" />
115 <param acdb_devices="DEVICE_HANDSET_MIC_CPE, DEVICE_HANDSET_TMIC_CPE, DEVICE_HEADSET_MIC_CPE" />
116 <!-- module_id, instance_id, param_id -->
117 <param load_sound_model_ids="0x00012C0D, 0x2, 0x00012C14" />
118 <param confidence_levels_ids="0x00012C0D, 0x2, 0x00012C28" />
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700119 <param detection_event_ids="0x00012C0D, 0x2, 0x00012B05" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800120 <param read_cmd_ids="0x00020013, 0x2, 0x00020015" />
121 <param read_rsp_ids="0x00020013, 0x2, 0x00020016" />
122 <param custom_config_ids="0x00012C0D, 0x2, 0x00012C20" />
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700123 <param det_event_type_ids="0x00012C0D, 0x2, 0x00012C2A" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800124 </gcs_usecase>
125 <gcs_usecase>
126 <param uid="0x2" />
127 <param acdb_devices="DEVICE_HANDSET_MIC_CPE, DEVICE_HANDSET_TMIC_CPE, DEVICE_HEADSET_MIC_CPE" />
128 <param load_sound_model_ids="0x00012C0D, 0x3, 0x00012C14" />
129 <param confidence_levels_ids="0x00012C0D, 0x3, 0x00012C28" />
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700130 <param detection_event_ids="0x00012C0D, 0x3, 0x00012B05" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800131 <param read_cmd_ids="0x00020013, 0x3, 0x00020015" />
132 <param read_rsp_ids="0x00020013, 0x3, 0x00020016" />
133 <param custom_config_ids="0x00012C0D, 0x3, 0x00012C20" />
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700134 <param det_event_type_ids="0x00012C0D, 0x3, 0x00012C2A" />
135 </gcs_usecase>
136 <gcs_usecase>
137 <param uid="0x7" />
138 <param acdb_devices="DEVICE_HANDSET_DMIC_CPE" />
139 <param load_sound_model_ids="0x00012C0D, 0x7, 0x00012C14" />
140 <param confidence_levels_ids="0x00012C0D, 0x7, 0x00012C28" />
141 <param detection_event_ids="0x00012C0D, 0x7, 0x00012B05" />
142 <param read_cmd_ids="0x00020013, 0x7, 0x00020015" />
143 <param read_rsp_ids="0x00020013, 0x7, 0x00020016" />
144 <param custom_config_ids="0x00012C0D, 0x7, 0x00012C20" />
145 <param det_event_type_ids="0x00012C0D, 0x7, 0x00012C2A" />
146 </gcs_usecase>
147 <gcs_usecase>
148 <param uid="0x8" />
149 <param acdb_devices="DEVICE_HANDSET_DMIC_CPE" />
150 <param load_sound_model_ids="0x00012C0D, 0x8, 0x00012C14" />
151 <param confidence_levels_ids="0x00012C0D, 0x8, 0x00012C28" />
152 <param detection_event_ids="0x00012C0D, 0x8, 0x00012B05" />
153 <param read_cmd_ids="0x00020013, 0x8, 0x00020015" />
154 <param read_rsp_ids="0x00020013, 0x8, 0x00020016" />
155 <param custom_config_ids="0x00012C0D, 0x8, 0x00012C20" />
156 <param det_event_type_ids="0x00012C0D, 0x8, 0x00012C2A" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800157 </gcs_usecase>
158 <!-- Module and param ids with which the algorithm is integrated
159 in non-graphite firmware (note these must come after gcs params)
160 Extends flexibility to have different ids based on execution type.
161 valid execution_type values: "WDSP" "ADSP" -->
162 <lsm_usecase>
163 <param execution_mode="ADSP" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700164 <param app_type="2" /> <!-- app type used in ACDB -->
165 <param in_channels="5"/> <!-- Module input channels -->
Bhalchandra Gajare78be5f82018-06-06 19:19:26 -0700166 <param load_sound_model_ids="0x00012C1C, 0x00012C14" />
167 <param unload_sound_model_ids="0x00012C1C, 0x00012C15" />
168 <param confidence_levels_ids="0x00012C1C, 0x00012C07" />
169 <param operation_mode_ids="0x00012C1C, 0x00012C02" />
170 <param polling_enable_ids="0x00012C1C, 0x00012C1B" />
171 <param custom_config_ids="0x00012C1C, 0x00012C20" />
Quinn Male80be6fb2018-08-09 19:06:28 -0700172 <param det_event_type_ids="0x00012C1C, 0x00012C2C" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800173 </lsm_usecase>
174
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800175 <!-- format: "ADPCM_packet" or "PCM_packet" !-->
176 <!-- transfer_mode: "FTRT" or "RT" -->
177 <!-- kw_duration is in milli seconds. It is valid only for FTRT
178 transfer mode -->
179 <param capture_keyword="PCM_packet, RT, 2000" />
180 <param client_capture_read_delay="2000" />
181 </sound_model_config>
182
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700183 <!-- QTI Music Detection !-->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800184 <sound_model_config>
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700185 <param vendor_uuid="876c1b46-9d4d-40cc-a4fd-4d5ec7a80e47" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800186 <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700187 <param library="libsmwrapper.so" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800188 <param max_cpe_phrases="1" />
189 <param max_cpe_users="1" />
190 <param max_ape_phrases="1" />
191 <param max_ape_users="1" />
192 <!-- Profile specific data which the algorithm can support -->
193 <param sample_rate="16000" />
194 <param bit_width="16" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700195 <param out_channels="1"/> <!-- Module output channels -->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800196 <!-- adm_cfg_profile should match with the one defined under adm_config -->
197 <!-- Set it to NONE if LSM directly connects to AFE -->
198 <param adm_cfg_profile="NONE" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700199 <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC" -->
200 <!-- "FLUENCE_QMIC". Param value is valid when adm_cfg_profile -->
201 <!-- is one of FLUENCE, FLUENCE_STEREO, FFECNS values -->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800202 <param fluence_type="FLUENCE_DMIC" />
203 <!-- wdsp_fluence_type: fluence disabled: "NONE" -->
204 <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_TMIC", "FLUENCE_QMIC" -->
205 <param wdsp_fluence_type="NONE" />
206 <gcs_usecase>
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700207 <param uid="0x5" />
208 <param acdb_devices="DEVICE_HANDSET_MIC_CPE, DEVICE_HANDSET_TMIC_CPE, DEVICE_HEADSET_MIC_CPE" />
209 <!-- module_id, instance_id, param_id -->
210 <param load_sound_model_ids="0x00012C2E, 0x6, 0x00012C14" />
211 <param confidence_levels_ids="0x00012C2E, 0x6, 0x00012C28" />
212 <param detection_event_ids="0x00012C2E, 0x6, 0x00012B05" />
213 <param read_cmd_ids="0x00020013, 0x6, 0x00020015" />
214 <param read_rsp_ids="0x00020013, 0x6, 0x00020016" />
215 <param custom_config_ids="0x00012C2E, 0x6, 0x00012C2D" />
216 <param det_event_type_ids="0x00012C2E, 0x6, 0x00012C2C" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800217 </gcs_usecase>
218 <!-- Module and param ids with which the algorithm is integrated
219 in non-graphite firmware (note these must come after gcs params)
220 Extends flexibility to have different ids based on execution type.
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700221 valid execution_type values: only "ADSP" -->
222 <lsm_usecase>
223 <param execution_mode="ADSP" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700224 <param app_type="4" /> <!-- app type for MD used in ACDB -->
225 <param in_channels="1"/> <!-- Module input channels -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700226 <param load_sound_model_ids="0x00012C22, 0x00012C14" />
227 <param unload_sound_model_ids="0x00012C22, 0x00012C15" />
228 <param confidence_levels_ids="0x00012C22, 0x00012C07" />
229 <param det_event_type_ids="0x00012C22, 0x00012C2C" />
230 <param custom_config_ids="0x00012C22, 0x00012C30" />
231 </lsm_usecase>
232
233 <!-- format: "ADPCM_packet" or "PCM_packet" !-->
234 <!-- transfer_mode: "FTRT" or "RT" -->
235 <!-- kw_duration is in milli seconds. It is valid only for FTRT
236 transfer mode -->
237 <param capture_keyword="PCM_packet, FTRT, 1500" />
238 <param client_capture_read_delay="2000" />
239 </sound_model_config>
240
241 <!-- Google Hotword -->
242 <sound_model_config>
243 <param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" />
244 <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700245 <param library="none" />
246 <param max_cpe_phrases="1" />
247 <param max_cpe_users="1" />
248 <param max_ape_phrases="1" />
249 <param max_ape_users="1" />
250 <!-- Profile specific data which the algorithm can support -->
251 <param sample_rate="16000" />
252 <param bit_width="16" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700253 <param out_channels="1"/> <!-- Module output channels -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700254 <!-- adm_cfg_profile should match with the one defined under adm_config -->
255 <!-- Set it to NONE if LSM directly connects to AFE -->
256 <param adm_cfg_profile="NONE" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700257 <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC" -->
258 <!-- "FLUENCE_QMIC". Param value is valid when adm_cfg_profile -->
259 <!-- is one of FLUENCE, FLUENCE_STEREO, FFECNS values -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700260 <param fluence_type="FLUENCE_DMIC" />
261 <!-- wdsp_fluence_type: fluence disabled: "NONE" -->
262 <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_QMIC" -->
263 <param wdsp_fluence_type="NONE" />
264 <gcs_usecase>
265 <param uid="0x3" />
266 <param acdb_devices="DEVICE_HANDSET_MIC_CPE" />
267 <param load_sound_model_ids="0x18000001, 0x4, 0x18000100" />
268 <param start_engine_ids="0x18000001, 0x4, 0x18000101" />
269 <param confidence_levels_ids="0x18000001, 0x4, 0x00012C28" />
270 <param detection_event_ids="0x18000001, 0x4, 0x00012C29" />
271 <param custom_config_ids="0x18000001, 0x4, 0x00012C20" />
272 <param read_cmd_ids="0x00020013, 0x4, 0x00020015" />
273 <param read_rsp_ids="0x00020013, 0x4, 0x00020016" />
274 </gcs_usecase>
275 <gcs_usecase>
276 <param uid="0x4" />
277 <param acdb_devices="DEVICE_HANDSET_DMIC_CPE" />
278 <param load_sound_model_ids="0x18000001, 0x5, 0x18000100" />
279 <param start_engine_ids="0x18000001, 0x5, 0x18000101" />
280 <param confidence_levels_ids="0x18000001, 0x5, 0x00012C28" />
281 <param detection_event_ids="0x18000001, 0x5, 0x00012C29" />
282 <param custom_config_ids="0x18000001, 0x5, 0x00012C20" />
283 <param read_cmd_ids="0x00020013, 0x5, 0x00020015" />
284 <param read_rsp_ids="0x00020013, 0x5, 0x00020016" />
285 </gcs_usecase>
286
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800287 <lsm_usecase>
288 <param execution_mode="ADSP" />
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700289 <param app_type="3" /> <!-- app type used in ACDB -->
290 <param in_channels="1"/> <!-- Module input channels -->
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800291 <param load_sound_model_ids="0x18000001, 0x00012C14" />
292 <param unload_sound_model_ids="0x18000001, 0x00012C15" />
293 <param confidence_levels_ids="0x18000001, 0x00012C07" />
294 <param operation_mode_ids="0x18000001, 0x00012C02" />
295 <param polling_enable_ids="0x18000001, 0x00012C1B" />
296 <param custom_config_ids="0x18000001, 0x00012C20" />
297 </lsm_usecase>
298
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800299 <!-- format: "ADPCM_packet" or "PCM_packet" !-->
300 <!-- transfer_mode: "FTRT" or "RT" -->
301 <!-- kw_duration is in milli seconds. It is valid only for FTRT
302 transfer mode -->
Dallas Delaney299ea1f2018-06-01 21:23:48 -0700303 <param capture_keyword="PCM_raw, FTRT, 2000" />
304 <param client_capture_read_delay="2000" />
305 </sound_model_config>
306
307 <!-- Google Music Detection -->
308 <sound_model_config>
309 <param vendor_uuid="9f6ad62a-1f0b-11e7-87c5-40a8f03d3f15" />
310 <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
311 <param library="none" />
312 <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_QMIC" -->
313 <param wdsp_fluence_type="NONE" />
314 <gcs_usecase>
315 <param uid="0x6" />
316 <param acdb_devices="DEVICE_HANDSET_MIC_CPE" />
317 <param load_sound_model_ids="0x18000001, 0x4, 0x18000102" />
318 <param start_engine_ids="0x18000001, 0x4, 0x18000103" />
319 <param confidence_levels_ids="0x18000001, 0x4, 0x00012C28" />
320 <param detection_event_ids="0x18000001, 0x4, 0x00012C29" />
321 <param custom_config_ids="0x18000001, 0x4, 0x00012C20" />
322 <param read_cmd_ids="0x00020013, 0x7, 0x00020015" />
323 <param read_rsp_ids="0x00020013, 0x7, 0x00020016" />
324 </gcs_usecase>
325 <!-- kw_duration is in milli seconds. It is valid only for FTRT
326 transfer mode -->
327 <param capture_keyword="MULAW_raw, FTRT, 5000" />
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800328 <param client_capture_read_delay="2000" />
329 </sound_model_config>
330
331 <!-- Multiple adm_config tags can be listed, each with unique profile name. -->
332 <!-- app_type to match corresponding value from ACDB -->
333 <adm_config>
334 <param adm_cfg_profile="DEFAULT" />
335 <param app_type="69938" />
336 <param sample_rate="16000" />
337 <param bit_width="16" />
338 </adm_config>
339
340 <adm_config>
341 <param adm_cfg_profile="FLUENCE" />
342 <param app_type="69944" />
343 <param sample_rate="16000" />
344 <param bit_width="16" />
345 </adm_config>
346
347 <adm_config>
348 <param adm_cfg_profile="FLUENCE_STEREO" />
349 <param app_type="69948" />
350 <param sample_rate="16000" />
351 <param bit_width="16" />
352 </adm_config>
353
Venkatesh Mangalappali186054d2018-06-07 16:23:42 -0700354 <adm_config>
355 <param adm_cfg_profile="FFECNS" />
356 <param app_type="69947" />
357 <param sample_rate="16000" />
358 <param bit_width="16" />
359 <param out_channels="5"/>
360 </adm_config>
361
Xiaoyu Yea11fdf82017-11-21 16:49:32 -0800362 <!-- backend_type tag defines backend type for each device -->
363 <!-- Default value is assumed for devices that are not listed here -->
364 <backend_type>
365 <param DEVICE_HANDSET_MIC_ECPP_CPE="BACKEND_ECPP" />
366 </backend_type>
367</sound_trigger_platform_info>