XCORE SDK
XCORE Software Development Kit
Classes | Macros
AGC API structure definitions

Classes

struct  agc_config_t
 AGC configuration structure. More...
 
struct  agc_state_t
 AGC state structure. More...
 
struct  agc_meta_data_t
 AGC meta data structure. More...
 

Macros

#define AGC_FRAME_ADVANCE   240u
 Length of the frame of data on which the AGC will operate.
 
#define AGC_META_DATA_NO_VAD   0u
 
#define AGC_META_DATA_NO_AEC   (float_s32_t){0, 0}
 

Detailed Description

Macro Definition Documentation

◆ AGC_META_DATA_NO_AEC

#define AGC_META_DATA_NO_AEC   (float_s32_t){0, 0}

If the application has no AEC, lc_enabled must be disabled in the configuration. This pre-processor definition can be assigned to the aec_ref_power and aec_corr_factor in agc_meta_data_t in that situation to make it clear in the code that there is no AEC.

◆ AGC_META_DATA_NO_VAD

#define AGC_META_DATA_NO_VAD   0u

If the application has no VAD, adapt_on_vad must be disabled in the configuration. This pre-processor definition can be assigned to the vad_flag in agc_meta_data_t in that situation to make it clear in the code that there is no VAD.