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