Home | History | Annotate | Download | only in marlin
      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 
     31     <common_config>
     32         <param execution_type="CPE" /> <!-- value: "CPE" "APE" -->
     33         <param max_cpe_sessions="2" />
     34         <param max_ape_sessions="8" />
     35         <param enable_failure_detection="false" />
     36     </common_config>
     37 
     38     <acdb_ids>
     39         <param DEVICE_HANDSET_APE_ACDB_ID="100" />
     40         <param DEVICE_HANDSET_CPE_ACDB_ID="128" />
     41         <param DEVICE_HANDSET_CPE_ECPP_ACDB_ID="128" />
     42     </acdb_ids>
     43 
     44     <sound_model_config> <!-- HOTWORD -->
     45         <param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" />
     46         <param app_type="3" /> <!-- app type used in ACDB -->
     47         <param library="none" />
     48         <param max_cpe_phrases="1" />
     49         <param max_cpe_users="1" />
     50         <param sample_rate="16000" />
     51 
     52         <!-- Module and param ids with which the algorithm is integrated in firmware -->
     53         <param load_sound_model_ids="0x18000001, 0x00012C14" />
     54         <param unload_sound_model_ids="0x18000001, 0x00012C15" />
     55 
     56         <!-- format: "ADPCM_packet" or "PCM_packet" !-->
     57         <!-- transfer_mode: "FTRT" or "RT" -->
     58         <!--  kw_duration is in milli seconds. It is valid only for FTRT transfer mode -->
     59         <param capture_keyword="PCM_packet, FTRT, 2000" />
     60         <param client_capture_read_delay="2000" />
     61     </sound_model_config>
     62 
     63     <sound_model_config> <!-- HOTSOUND -->
     64         <param vendor_uuid="a8c03a92-30f2-11e6-92f5-40a8f03d3f15" />
     65         <param app_type="4" /> <!-- app type used in ACDB -->
     66         <param library="none" />
     67         <param sample_rate="48000" />
     68 
     69         <!-- Module and param ids with which the algorithm is integrated in firmware -->
     70         <param load_sound_model_ids="0x17000001, 0x00012C14" />
     71         <param unload_sound_model_ids="0x17000001, 0x00012C15" />
     72 
     73         <!-- format: "ADPCM_packet" or "PCM_packet" !-->
     74         <!-- transfer_mode: "FTRT" or "RT" -->
     75         <!--  kw_duration is in milli seconds. It is valid only for FTRT transfer mode -->
     76         <param capture_keyword="PCM_packet, RT, 0" />
     77         <param client_capture_read_delay="0" />
     78     </sound_model_config>
     79 
     80 </sound_trigger_platform_info>
     81 
     82