hi_aec_frame

Description

Defines the information about the reference frame for AEC.

Prototype

typedef struct {
    hi_audio_frame ref_frame;      /* AEC reference audio frame */
    hi_bool     valid;             /* whether frame is valid */
    hi_bool     sys_bind;          /* whether is sysbind */
} hi_aec_frame;

Members

Member

Description

ref_frame

Structure of the reference frame for echo cancellation

valid

Flag indicating a valid reference frame

HI_TRUE: The reference frame is valid.

HI_FALSE: The reference frame is invalid. This reference frame cannot be used for echo cancellation.

sys_bind

Whether the AI is bound to the AENC in system binding mode

The AEC function is not supported. You can leave this structure empty.