spf/api/modules/asr_module_calibration_api.h
Structures
asr_version_t
Members
param_id_asr_config_t
Members
param_id_asr_input_threshold_t
Members
param_id_asr_input_threshold_v2_t
Members
This API allows multiple clients to have unique input threshold configurations. ASR_CLIENT_HLOS - Client is HLOS. ASR_CLIENT_LLS - Client is Sensor.}
param_id_asr_force_output_t
Members
param_id_asr_force_output_v2_t
Members
This API allows forcing output for a specific client in multi-client scenarios. ASR_CLIENT_HLOS - Force output for HLOS client. ASR_CLIENT_LLS - Force output for Sensor client.}
param_id_asr_output_config_t
Members
ASR_NON_BUFFERED - Output of each ASR algo process is immediately sent to client. ASR_BUFFERED - Output of each ASR algo process is buffered and sent to client intermittently. ASR_LOGGER - Output of each ASR algo process is stored and sent to client on demand. ASR_TS_NON_BUFFERED - Output of each ASR algo process is immediately sent to client with timestamps. ASR_TS_BUFFERED - Output of each ASR algo process is buffered and sent to client intermittently with timestamps. ASR_TS_LOGGER - Output of each ASR algo process is stored and sent to client on demand with timestamps.}
param_id_asr_output_config_v2_base_t
Members
This API allow multiple clients to have unique configurations ASR_CLIENT_HLOS - Client is HLOS. ASR_CLIENT_LLS - Client is Sensor.}
ASR_NON_BUFFERED - Output of every process input frame is immediately sent to client. ASR_BUFFERED - Output of every process input frame is buffered and sent to client intermittently. ASR_LOGGER - Output of every process input frame is stored and sent to client on demand. ASR_TS_NON_BUFFERED - Output of every process input frame is immediately sent to client with timestamps. ASR_TS_BUFFERED - Output of every process input frame is buffered and sent to client intermittently with timestamps. ASR_TS_LOGGER - Output of every process input frame is stored and sent to client on demand with timestamps.}
param_id_asr_output_config_v2_t
Members
event_id_asr_output_reg_cfg_t
@parameter @description @toolPolicy
Members
event_id_asr_output_reg_cfg_v2_t
@parameter @description @toolPolicy
Members
asr_output_status_t
Members
asr_model_param_t
Members
event_id_asr_output_event_t
Members
Default mode is Query. QUERY = Client will query via getparam upon receiving this event, using the output_token provided as part of this payload. Inband = ASR output payload follows inband after the payload_size field }
Following this field is the payload of this size. Payload is variable array of type asr_output_status_t . Size ‘0’ indicates this is an event generated without any valid output, for example : in response to a force output param set by client. }
param_id_asr_output_t
Members
This can be used by clients to query the corresponding payload. If not configured or invalid, Payload corresponds to output buffers in sequential order as produced by ASR engine.}
Following this field is the payload of this size. Payload is variable array of type asr_output_status_t . Size ‘0’ indicates this is an event generated without any valid output, for example : in response to a force output param set by client. }
param_id_asr_algo_max_inference_time_t
Members
asr_word_status_t
Members
MAX_WORD_SIZE to be a multiple of 4. Client should read only word_size from this array for the actual word which does not include any null term char}
asr_output_status_v2_t
Members
param_id_asr_output_v2_t
Members
This can be used by clients to query the corresponding payload. If not configured or invalid, Payload corresponds to output buffers in sequential order as produced by ASR engine.}
Following this field is the payload of this size. Payload is variable array of type asr_output_status_v2_t . Size ‘0’ indicates this is an event generated without any valid output, for example : in response to a force output param set by client. }
param_id_asr_output_v3_t
Members
This must match the client_id used in PARAM_ID_ASR_OUTPUT_CONFIG_V2. Allows multiple clients to independently query their own output buffers.}
This can be used by clients to query the corresponding payload. If not configured or invalid, Payload corresponds to output buffers in sequential order as produced by ASR engine.}
Following this field is the payload of this size. Payload is variable array of type asr_output_status_v2_t . Size ‘0’ indicates this is an event generated without any valid output, for example : in response to a force output param set by client. }
param_id_asr_ts_fmt_t
Members
Note: ‘0’ means module latches to UTC time only at the beginning of the usecase and doesn’t periodically sync to UTC time for dynamic changes. For non-zero values say ‘x’ seconds, the module will dynamically sync and update the UTC time at every x seconds. The maximum reset period allowed is a day.}

