1<?xml version="1.0" encoding="ISO-8859-1"?> 2<!--- Copyright (c) 2013-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<!--- 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> 29 <param version="0x0101" /> <!-- this must be the first param --> 30 <common_config> 31 <param max_cpe_sessions="1" /> 32 <param max_wdsp_sessions="3" /> 33 <param max_ape_sessions="8" /> 34 <param enable_failure_detection="false" /> 35 <param support_device_switch="false" /> 36 <param concurrent_capture="true" /> 37 </common_config> 38 <acdb_ids> 39 <param DEVICE_HANDSET_MIC_APE="100" /> 40 <param DEVICE_HANDSET_MIC_CPE="128" /> 41 <param DEVICE_HANDSET_MIC_ECPP_CPE="128" /> 42 <param DEVICE_HEADSET_MIC_CPE="139" /> 43 </acdb_ids> 44 <!-- Multiple sound_model_config tags can be listed, each with unique 45 vendor_uuid. --> 46 <sound_model_config> 47 <param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" /> 48 <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> 49 <param library="none" /> 50 <param max_cpe_phrases="1" /> 51 <param max_cpe_users="1" /> 52 <gcs_usecase> 53 <param uid="0x1" /> 54 <param load_sound_model_ids="0x18000001, 0x1, 0x18000100" /> 55 <param start_engine_ids="0x18000001, 0x1, 0x18000101" /> 56 <param request_detection_ids="0x18000001, 0x4, 0x18000106" /> 57 <param detection_event_ids="0x18000001, 0x1, 0x00012C29" /> 58 <param read_cmd_ids="0x00020013, 0x1, 0x00020015" /> 59 <param read_rsp_ids="0x00020013, 0x1, 0x00020016" /> 60 </gcs_usecase> 61 <!-- kw_duration is in milli seconds. It is valid only for FTRT 62 transfer mode --> 63 <param capture_keyword="PCM_raw, FTRT, 2000" /> 64 <param client_capture_read_delay="2000" /> 65 </sound_model_config> 66 67 <!-- music --> 68 <sound_model_config> 69 <param vendor_uuid="9f6ad62a-1f0b-11e7-87c5-40a8f03d3f15" /> 70 <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> 71 <param library="none" /> 72 <gcs_usecase> 73 <param uid="0x2" /> 74 <param load_sound_model_ids="0x18000001, 0x1, 0x18000102" /> 75 <param start_engine_ids="0x18000001, 0x1, 0x18000103" /> 76 <param request_detection_ids="0x18000001, 0x4, 0x18000107" /> 77 <param custom_config_ids="0x18000001, 0x1, 0x18000106" /> 78 <param detection_event_ids="0x18000001, 0x1, 0x00012C29" /> 79 <param read_cmd_ids="0x00020013, 0x2, 0x00020015" /> 80 <param read_rsp_ids="0x00020013, 0x2, 0x00020016" /> 81 </gcs_usecase> 82 <!-- kw_duration is in milli seconds. It is valid only for FTRT 83 transfer mode --> 84 <param capture_keyword="MULAW_raw, FTRT, 4000" /> 85 <param client_capture_read_delay="2000" /> 86 </sound_model_config> 87 88 <sound_model_config> 89 <param vendor_uuid="2fc815fa-4a42-11e7-99bd-40a8f03d3f15" /> 90 <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> 91 <param library="none" /> 92 <gcs_usecase> 93 <param uid="0x3" /> 94 <param load_sound_model_ids="0x18000001, 0x1, 0x18000104" /> 95 <param start_engine_ids="0x18000001, 0x1, 0x18000105" /> 96 <param detection_event_ids="0x18000001, 0x1, 0x00012C29" /> 97 </gcs_usecase> 98 <!-- kw_duration is in milli seconds. It is valid only for FTRT 99 transfer mode --> 100 <param capture_keyword="PCM_raw, FTRT, 0" /> 101 <param client_capture_read_delay="0" /> 102 </sound_model_config> 103 104 <!-- Multiple adm_config tags can be listed, each with unique profile name. --> 105 <!-- app_type to match corresponding value from ACDB --> 106 <adm_config> 107 <param adm_cfg_profile="DEFAULT" /> 108 <param app_type="69938" /> 109 <param sample_rate="16000" /> 110 <param bit_width="16" /> 111 </adm_config> 112</sound_trigger_platform_info> 113