Skip to main content
Header: spf/api/modules/test_module_api.h

Structures

param_id_test_threshold_cfg_t

Configures whether to act as a threshold module. Members
uint32_t
Threshold duration.
uint16_t
Whether the threshold applies to the input port or output port.
uint16_t
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
uint32_t
} rangeList default
uint32_t
TODO(claguna) Estimates of cycle-to-duration: MSM8998: 1ms = X cycles, 5ms = X cycles, 10ms = X cycles} range default
uint16_t
} range default
uint16_t
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
uint32_t
} range default

param_id_hw_acc_proc_delay_cfg_t

Members
uint32_t
} range default

param_id_set_ttr_delay_t

Creates ttr metadata with delay. Members
uint32_t
} range default

param_id_timestamp_offset_t

Configures the timestamp offset - all timestamps are adjust by algo delay + this amount. Members
int32_t
} range default
int32_t

test_module_periodicity_t

Members
periodicity_mode_t
range default
uint32_t
range default

param_id_test_periodic_md_gen_cfg_t

Members
uint32_t
range default
uint32_t
test_module_periodicity_t
relevant cfg needs to have been received - if reqd} range default

param_id_test_md_tracking_cfg_t

Members
uint32_t
range default
uint32_t
uint8_t

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
uint32_t
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