Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::rtc::AiEchoCancellationExtension Class Referenceabstract

`#include <NGIAgoraExtensionAiAec.h>`

Inherits agora::RefCountInterface.

## Public Member Functions
virtual | ~AiEchoCancellationExtension ()
virtual int | Init (const char *weight_raw_buffer, size_t raw_buffer_bytes)=0
virtual int | ProcessAiNlpFrame (const float *linear, const float *nearin, const float *far_ref, float *out_mask)=0
virtual int | ClearHiddenState (float scale_factor=0.0, int clear_lpsbuffer_nframe=0)=0
virtual const char * | GetLibVersion (int mode=0)=0
Public Member Functions inherited from agora::RefCountInterface
virtual void | AddRef () const =0
virtual RefCountReleaseStatus | Release () const =0
virtual bool | HasOneRef () const =0

## Additional Inherited Members
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Constructor & Destructor Documentation

## ◆ ~AiEchoCancellationExtension()

virtual agora::rtc::AiEchoCancellationExtension::~AiEchoCancellationExtension | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ Init()

virtual int agora::rtc::AiEchoCancellationExtension::Init | ( | const char * | weight_raw_buffer,
|  | size_t | raw_buffer_bytes )
| pure virtual

## ◆ ProcessAiNlpFrame()

virtual int agora::rtc::AiEchoCancellationExtension::ProcessAiNlpFrame | ( | const float * | linear,
|  | const float * | nearin,
|  | const float * | far_ref,
|  | float * | out_mask )
| pure virtual

## ◆ ClearHiddenState()

virtual int agora::rtc::AiEchoCancellationExtension::ClearHiddenState | ( | float | scale_factor = 0.0,
|  | int | clear_lpsbuffer_nframe = 0 )
| pure virtual

## ◆ GetLibVersion()

virtual const char * agora::rtc::AiEchoCancellationExtension::GetLibVersion | ( | int | mode = 0 | ) |
| pure virtual