Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 1 | <?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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 29 | <param version="0x0103" /> <!-- this must be the first param --> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 30 | <!--- 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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 34 | <!--- 0x0103: app_type and in_channels added to <lsm usecase> and out_channels --> |
| 35 | <!--- added to <adm_config> --> |
| 36 | |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 37 | <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 Song | 27f0bcf | 2018-07-06 14:43:20 +0800 | [diff] [blame] | 45 | <param transit_to_adsp_on_battery_charging="false" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 46 | <!-- Below backend params must match with port used in mixer path file --> |
| 47 | <!-- param used to configure backend sample rate, format and channels --> |
Zhou Song | 6edc00c | 2018-09-07 00:09:07 +0800 | [diff] [blame] | 48 | <param backend_port_name="SLIM_1_TX" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 49 | <!-- Param used to match and obtain device backend index --> |
Zhou Song | 6edc00c | 2018-09-07 00:09:07 +0800 | [diff] [blame] | 50 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 53 | </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 Kulothungan | f606f78 | 2018-04-10 11:49:12 -0700 | [diff] [blame] | 59 | <param DEVICE_HANDSET_TMIC_APE="157" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 60 | <param DEVICE_HANDSET_MIC_PP_APE="135" /> |
| 61 | <param DEVICE_HANDSET_QMIC_APE="137" /> |
| 62 | <param DEVICE_HEADSET_MIC_CPE="139" /> |
Yunfei Zhang | 2d9e21f | 2019-05-27 11:33:41 +0800 | [diff] [blame] | 63 | <param DEVICE_HEADSET_MIC_APE="141" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 64 | <param DEVICE_HANDSET_DMIC_APE="149" /> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 65 | <param DEVICE_HANDSET_DMIC_CPE="148" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 66 | </acdb_ids> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 67 | |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 68 | <!-- 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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 71 | |
| 72 | <!-- QTI SVA --> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 73 | <sound_model_config> |
| 74 | <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" /> |
Venkatesh Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 75 | <param execution_type="DYNAMIC" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 76 | <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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 84 | <param out_channels="1"/> <!-- Module output channels --> |
| 85 | |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 86 | <!-- adm_cfg_profile should match with the one defined under adm_config --> |
| 87 | <!-- Set it to NONE if LSM directly connects to AFE --> |
Venkatesh Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 88 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 93 | <!-- wdsp_fluence_type: fluence disabled: "NONE" --> |
| 94 | <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_TMIC", "FLUENCE_QMIC" --> |
| 95 | <param wdsp_fluence_type="NONE" /> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 96 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 113 | <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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 119 | <param detection_event_ids="0x00012C0D, 0x2, 0x00012B05" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 120 | <param read_cmd_ids="0x00020013, 0x2, 0x00020015" /> |
| 121 | <param read_rsp_ids="0x00020013, 0x2, 0x00020016" /> |
| 122 | <param custom_config_ids="0x00012C0D, 0x2, 0x00012C20" /> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 123 | <param det_event_type_ids="0x00012C0D, 0x2, 0x00012C2A" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 124 | </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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 130 | <param detection_event_ids="0x00012C0D, 0x3, 0x00012B05" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 131 | <param read_cmd_ids="0x00020013, 0x3, 0x00020015" /> |
| 132 | <param read_rsp_ids="0x00020013, 0x3, 0x00020016" /> |
| 133 | <param custom_config_ids="0x00012C0D, 0x3, 0x00012C20" /> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 134 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 157 | </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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 164 | <param app_type="2" /> <!-- app type used in ACDB --> |
| 165 | <param in_channels="5"/> <!-- Module input channels --> |
Bhalchandra Gajare | 78be5f8 | 2018-06-06 19:19:26 -0700 | [diff] [blame] | 166 | <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 Male | 80be6fb | 2018-08-09 19:06:28 -0700 | [diff] [blame] | 172 | <param det_event_type_ids="0x00012C1C, 0x00012C2C" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 173 | </lsm_usecase> |
| 174 | |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 175 | <!-- 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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 183 | <!-- QTI Music Detection !--> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 184 | <sound_model_config> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 185 | <param vendor_uuid="876c1b46-9d4d-40cc-a4fd-4d5ec7a80e47" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 186 | <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 187 | <param library="libsmwrapper.so" /> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 188 | <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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 195 | <param out_channels="1"/> <!-- Module output channels --> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 196 | <!-- 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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 199 | <!-- 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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 202 | <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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 207 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 217 | </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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 221 | valid execution_type values: only "ADSP" --> |
| 222 | <lsm_usecase> |
| 223 | <param execution_mode="ADSP" /> |
Venkatesh Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 224 | <param app_type="4" /> <!-- app type for MD used in ACDB --> |
| 225 | <param in_channels="1"/> <!-- Module input channels --> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 226 | <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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 245 | <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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 253 | <param out_channels="1"/> <!-- Module output channels --> |
Dallas Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 254 | <!-- 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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 257 | <!-- 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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 260 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 287 | <lsm_usecase> |
| 288 | <param execution_mode="ADSP" /> |
Venkatesh Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 289 | <param app_type="3" /> <!-- app type used in ACDB --> |
| 290 | <param in_channels="1"/> <!-- Module input channels --> |
Xiaoyu Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 291 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 299 | <!-- 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 Delaney | 299ea1f | 2018-06-01 21:23:48 -0700 | [diff] [blame] | 303 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 328 | <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 Mangalappali | 186054d | 2018-06-07 16:23:42 -0700 | [diff] [blame] | 354 | <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 Ye | a11fdf8 | 2017-11-21 16:49:32 -0800 | [diff] [blame] | 362 | <!-- 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> |