diff options
| author | Matt Filetto <matt.filetto@gmail.com> | 2016-12-22 20:18:22 -0800 |
|---|---|---|
| committer | Matt Filetto <matt.filetto@gmail.com> | 2016-12-23 01:00:34 -0800 |
| commit | e03b6d35af9299a9b5155dcdd06440b912cf6a5a (patch) | |
| tree | 2c074afdf7a6fcced924425f804d85640235b398 | |
| parent | de52038b930489ffb0b7f9bfd43c02931badc052 (diff) | |
v20: update sound_trigger_platform_info.xml from stock
* Fixes HotwordEnrollment
* Package Version: TMO_US_v10d
Change-Id: I1c060822d8a35e96ed8fdce4e3199c2af6e8f60c
| -rw-r--r-- | audio/sound_trigger_platform_info.xml | 63 |
1 files changed, 25 insertions, 38 deletions
diff --git a/audio/sound_trigger_platform_info.xml b/audio/sound_trigger_platform_info.xml index b92ea48..0da0b74 100644 --- a/audio/sound_trigger_platform_info.xml +++ b/audio/sound_trigger_platform_info.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!--- Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. --> +<!--- Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. --> <!--- --> <!--- Redistribution and use in source and binary forms, with or without --> <!--- modification, are permitted provided that the following conditions are --> @@ -26,45 +26,32 @@ <!--- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN --> <!--- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <sound_trigger_platform_info> - <param version="0x0101" /> <!-- this must be the first param --> - - <common_config> - <param execution_type="CPE" /> <!-- value: "CPE" "APE" --> - <param max_cpe_sessions="1" /> - <param max_ape_sessions="8" /> - <param enable_failure_detection="false" /> - </common_config> - - <acdb_ids> - <param DEVICE_HANDSET_APE_ACDB_ID="100" /> - <param DEVICE_HANDSET_CPE_ACDB_ID="128" /> - <param DEVICE_HANDSET_CPE_ECPP_ACDB_ID="128" /> - </acdb_ids> - - <!-- Multiple sound_model_config tags can be listed, each with unique --> - <!-- vendor_uuid. The below tag represents QTI SVA engine sound model --> - <!-- configuration. ISV must use their own unique vendor_uuid. --> - <sound_model_config> - <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" /> - <param app_type="2" /> <!-- app type used in ACDB --> - <param library="libsmwrapper.so" /> - <param max_cpe_phrases="6" /> - <param max_cpe_users="3" /> - <param max_ape_phrases="10" /> - <param max_ape_users="10" /> - <param sample_rate="16000" /> - - <!-- Module and param ids with which the algorithm is integrated in firmware --> - <param load_sound_model_ids="0x00012C0D, 0x00012C14" /> - <param unload_sound_model_ids="0x00012C0D, 0x00012C15" /> - <param confidence_levels_ids="0x00012C0D, 0x00012C07" /> - <param operation_mode_ids="0x00012C0D, 0x00012C02" /> + <device name="DEVICE_HANDSET_APE_ACDB_ID" value="100" /> + <device name="DEVICE_HANDSET_CPE_ACDB_ID" value="128" /> + <ctrl name="execution_type" value="CPE" /> <!-- value: "CPE" "APE" --> + <ctrl name="max_cpe_sessions" value="1" /> + <ctrl name="max_ape_sessions" value="8" /> + <ctrl name="enable_failure_detection" value="false" /> + <!-- vendor_uuid for a soundmodel. More than one vendor_uuid tags can be --> + <!-- listed in sequence, the below vendor uuid is reserved for Qualcomm --> + <!-- module. ISV must use their own unique vendor uuid. app_type, --> + <!-- module_id, param_id must match to the calibration database --> + <!-- If ISV vendor_uuid is present, execution_type will be forced to APE --> + <vendor_uuid value="68ab2d40-e860-11e3-95ef-0002a5d5c51b" app_type="2" library="libsmwrapper.so"> <!-- format: "ADPCM_packet" or "PCM_packet" !--> <!-- transfer_mode: "FTRT" or "RT" --> - <!-- kw_duration is in milli seconds. It is valid only for FTRT transfer mode --> - <param capture_keyword="PCM_packet, RT, 2000" /> - <param client_capture_read_delay="2000" /> - </sound_model_config> + <!-- kw_duration is in milli seconds. It is valid only for FTRT transfer mode --> + <capture_keyword format="PCM_packet" transfer_mode="FTRT" kw_duration="2000" /> + <param_type name="load_sound_model" module_id="0x00012C0D" param_id="0x00012C14"/> + <param_type name="unload_sound_model" module_id="0x00012C0D" param_id="0x00012C15"/> + <param_type name="confidence_levels" module_id="0x00012C0D" param_id="0x00012C07"/> + <param_type name="operation_mode" module_id="0x00012C0D" param_id="0x00012C02"/> + <ctrl name="max_cpe_phrases" value="6" /> + <ctrl name="max_cpe_users" value="3" /> + <ctrl name="max_ape_phrases" value="10" /> + <ctrl name="max_ape_users" value="10" /> + <ctrl name="client_capture_read_delay" value="2000" /> <!-- in milli seconds --> + </vendor_uuid> </sound_trigger_platform_info> |
