Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 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> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 29 | <param version="0x0101" /> <!-- this must be the first param --> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 30 | <common_config> |
Vidyakumar Athota | 435ba16 | 2016-09-09 15:09:15 -0700 | [diff] [blame] | 31 | <param max_cpe_sessions="1" /> |
| 32 | <param max_wdsp_sessions="2" /> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 33 | <param max_ape_sessions="8" /> |
| 34 | <param enable_failure_detection="false" /> |
| 35 | </common_config> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 36 | <acdb_ids> |
Vidyakumar Athota | 435ba16 | 2016-09-09 15:09:15 -0700 | [diff] [blame] | 37 | <param DEVICE_HANDSET_MIC_APE="100" /> |
| 38 | <param DEVICE_HANDSET_MIC_CPE="128" /> |
| 39 | <param DEVICE_HANDSET_MIC_ECPP_CPE="128" /> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 40 | </acdb_ids> |
Shiv Maliyappanahalli | 375ad15 | 2016-07-14 14:18:45 -0700 | [diff] [blame] | 41 | <!-- Multiple sound_model_config tags can be listed, each with unique --> |
| 42 | <!-- vendor_uuid. The below tag represents QTI SVA engine sound model --> |
| 43 | <!-- configuration. ISV must use their own unique vendor_uuid. --> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 44 | <sound_model_config> |
| 45 | <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" /> |
Shiv Maliyappanahalli | 375ad15 | 2016-07-14 14:18:45 -0700 | [diff] [blame] | 46 | <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 47 | <param app_type="2" /> <!-- app type used in ACDB --> |
| 48 | <param library="libsmwrapper.so" /> |
| 49 | <param max_cpe_phrases="6" /> |
| 50 | <param max_cpe_users="3" /> |
| 51 | <param max_ape_phrases="10" /> |
| 52 | <param max_ape_users="10" /> |
| 53 | <param sample_rate="16000" /> |
Vidyakumar Athota | 435ba16 | 2016-09-09 15:09:15 -0700 | [diff] [blame] | 54 | <gcs_usecase> |
Shiv Maliyappanahalli | 375ad15 | 2016-07-14 14:18:45 -0700 | [diff] [blame] | 55 | <param uid="0x1" /> |
Vidyakumar Athota | 435ba16 | 2016-09-09 15:09:15 -0700 | [diff] [blame] | 56 | <!-- module_id, instance_id, param_id --> |
| 57 | <param load_sound_model_ids="0x00012C0D, 0x2, 0x00012C14" /> |
| 58 | <param confidence_levels_ids="0x00012C0D, 0x2, 0x00012C28" /> |
| 59 | <param detection_event_ids="0x00012C0D, 0x2, 0x00012C29" /> |
| 60 | <param read_cmd_ids="0x00020013, 0x2, 0x00020015" /> |
| 61 | <param read_rsp_ids="0x00020013, 0x2, 0x00020016" /> |
| 62 | </gcs_usecase> |
| 63 | <gcs_usecase> |
Banajit Goswami | 75aa163 | 2016-08-31 19:56:27 -0700 | [diff] [blame] | 64 | <param uid="0x2" /> |
Vidyakumar Athota | 435ba16 | 2016-09-09 15:09:15 -0700 | [diff] [blame] | 65 | <param load_sound_model_ids="0x00012C0D, 0x3, 0x00012C14" /> |
| 66 | <param confidence_levels_ids="0x00012C0D, 0x3, 0x00012C28" /> |
| 67 | <param detection_event_ids="0x00012C0D, 0x3, 0x00012C29" /> |
| 68 | <param read_cmd_ids="0x00020013, 0x3, 0x00020015" /> |
| 69 | <param read_rsp_ids="0x00020013, 0x3, 0x00020016" /> |
| 70 | </gcs_usecase> |
Shiv Maliyappanahalli | 375ad15 | 2016-07-14 14:18:45 -0700 | [diff] [blame] | 71 | <!-- Module and param ids with which the algorithm is integrated |
| 72 | in non-graphite firmware (note these must come after gcs params) --> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 73 | <param load_sound_model_ids="0x00012C0D, 0x00012C14" /> |
| 74 | <param unload_sound_model_ids="0x00012C0D, 0x00012C15" /> |
| 75 | <param confidence_levels_ids="0x00012C0D, 0x00012C07" /> |
| 76 | <param operation_mode_ids="0x00012C0D, 0x00012C02" /> |
| 77 | |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 78 | <!-- format: "ADPCM_packet" or "PCM_packet" !--> |
| 79 | <!-- transfer_mode: "FTRT" or "RT" --> |
Shiv Maliyappanahalli | 375ad15 | 2016-07-14 14:18:45 -0700 | [diff] [blame] | 80 | <!-- kw_duration is in milli seconds. It is valid only for FTRT |
| 81 | transfer mode --> |
Garmond Leung | dbb2112 | 2016-06-22 11:10:34 -0700 | [diff] [blame] | 82 | <param capture_keyword="PCM_packet, RT, 2000" /> |
| 83 | <param client_capture_read_delay="2000" /> |
| 84 | </sound_model_config> |
Banajit Goswami | 8b11ffe | 2016-04-07 01:56:17 -0700 | [diff] [blame] | 85 | </sound_trigger_platform_info> |