Agora C++ API Reference for All Platforms

Classes | Public Member Functions | List of all members
agora::rtc::IAudioFilterV2 Class Referenceabstract

Inherits agora::rtc::IAudioFilter.

## Classes
class | Control

## Public Member Functions
virtual void | setExtensionControl (agora::agora_refptr< IAudioFilterV2::Control > control)=0
Public Member Functions inherited from agora::rtc::IAudioFilter
virtual void | setEnabled (bool enable)=0
virtual bool | isEnabled () const =0
virtual int | setProperty (const char *key, const void *buf, int buf_size)=0
virtual int | getProperty (const char *key, void *buf, int buf_size) const =0
virtual const char * | getName () const =0
virtual int | getPreferredSampleRate ()
virtual int | getPreferredChannelNumbers ()
Public Member Functions inherited from agora::rtc::IAudioFilterBase
virtual bool | adaptAudioFrame (const media::base::AudioPcmFrame &inAudioFrame, media::base::AudioPcmFrame &adaptedFrame)=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::rtc::IAudioFilter
| ~IAudioFilter ()
Protected Member Functions inherited from agora::rtc::IAudioFilterBase
| ~IAudioFilterBase ()
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Member Function Documentation

## ◆ setExtensionControl()

virtual void agora::rtc::IAudioFilterV2::setExtensionControl | ( | agora::agora_refptr< IAudioFilterV2::Control > | control | ) |
| pure virtual

AgoraSDK set IAudioFilterV2::Control to filter.

Parameters

  control | IAudioFilterV2::Control