XCORE SDK
XCORE Software Development Kit
|
ADEC output structure. More...
#include <adec_state.h>
Public Attributes | |
int32_t | delay_change_request_flag |
int32_t | requested_mic_delay_samples |
int32_t | reset_aec_flag |
int32_t | delay_estimator_enabled_flag |
int32_t | requested_delay_samples_debug |
ADEC output structure.
int32_t adec_output_t::delay_change_request_flag |
Flag indicating if ADEC is requesting an input delay correction
int32_t adec_output_t::delay_estimator_enabled_flag |
Flag indicating if AEC needs to be run configured in delay estimation mode.
int32_t adec_output_t::requested_delay_samples_debug |
Requested delay samples without clamping to +- MAX_DELAY_SAMPLES. Used only for debugging.
int32_t adec_output_t::requested_mic_delay_samples |
Mic delay in samples requested by ADEC. Relevant when delay_change_request_flag is 1. Note that this value is a signed integer. A positive requested_mic_delay_samples
requires the microphone to be delayed so the application needs to delay the input mic signal by requested_mic_delay_samples
samples. A negative requested_mic_delay_samples
means ADEC is requesting the input mic signal to be moved earlier in time. This, the application should do my delaying the input reference signal by abs(requested_mic_delay_samples)
samples.
int32_t adec_output_t::reset_aec_flag |
flag indicating ADEC's request for a reset of part of the AEC state to get AEC filter to start adapting from a 0 filter. ADEC requests this when a small delay correction needs to be applied that doesn't require a full reset of the AEC.