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

