hi_aec_frame

Description

Defines the information about the reference frame for audio echo cancellation (AEC).

As AEC is not supported currently, you can leave this structure empty.

Definition

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 and cannot be used for echo cancellation.

sys_bind

Whether the AI is bound to the audio encoding in system binding mode.