Header: spf/api/modules/test_module_api.h
Structures
param_id_test_threshold_cfg_t
Configures whether to act as a threshold module.
Members
Whether the threshold applies to the input port or output port.
Whether the threshold is a hard threshold or soft threshold.
param_id_busy_wait_cfg_t
Configures the threshold module to busy-wait at the end of process.
Members
TODO(claguna) Estimates of cycle-to-duration: MSM8998: 1ms = X cycles, 5ms = X cycles, 10ms = X cycles} range default
If larger than the period, then the module will busy wait every process cycle.} range default
param_id_algo_delay_cfg_t
Configures the threshold module to busy-wait at the end of process.
Members
param_id_hw_acc_proc_delay_cfg_t
Members
param_id_set_ttr_delay_t
Creates ttr metadata with delay.
Members
param_id_timestamp_offset_t
Configures the timestamp offset - all timestamps are adjust by algo delay + this amount.
Members
test_module_periodicity_t
Members
param_id_test_periodic_md_gen_cfg_t
Members
test_module_periodicity_t
relevant cfg needs to have been received - if reqd} range default
param_id_test_md_tracking_cfg_t
Members
param_id_test_force_output_samples_cfg_t
Configures the test module to force it to output a certain number of samples per channel for a single process call.
Members
If larger than current frame, size is cropped to actual frame size.} range default
Type Definitions
param_id_test_threshold_cfg_t
param_id_busy_wait_cfg_t
param_id_algo_delay_cfg_t
param_id_hw_acc_proc_delay_cfg_t
param_id_set_ttr_delay_t
param_id_timestamp_offset_t
periodicity_mode_t
test_module_periodicity_t
param_id_test_periodic_md_gen_cfg_t
param_id_test_md_tracking_cfg_t
param_id_test_force_output_samples_cfg_t
Enumerations
periodicity_mode_t
Values
Macros
MODULE_ID_GAIN_CUSTOM
Module IDs for testing custom stub modules in AMDB tests.
MODULE_ID_AAC_DEC_CUSTOM
MODULE_ID_AAC_ENC_CUSTOM
PARAM_ID_TEST_THRESHOLD_CFG
PARAM_ID_TEST_BUSY_WAIT_CFG
PARAM_ID_TEST_ALGO_DELAY_CFG
PARAM_ID_TEST_HW_ACCL_PROC_DELAY
PARAM_ID_TEST_DTMF_GEN_MD_CFG
PARAM_ID_TEST_SET_TTR_DELAY
Sends configuration as DTMF Gen metadata.
PARAM_ID_TEST_TIMESTAMP_OFFSET
PARAM_ID_TEST_PERIODIC_MD_GEN_CFG
PARAM_ID_TEST_MD_TRACKING_CFG
PARAM_ID_TEST_FORCE_OUTPUT_SAMPLES_CFG
MODULE_ID_TEST_MODULE
Module ID for test module