Agora C++ API Reference for All Platforms

NGIAgoraExtensionAINoiseSuppressor.h
1
2 //Agora SDK
3
4 //Copyright (c) 2021 Agora.io. All rights reserved.
5
6 #pragma once // NOLINT(build/header_guard)
7
8 #include "AgoraRefPtr.h"
9
10 namespace agora {
11 namespace rtc {
12
13 class AINoiseSuppressorExtension : public RefCountInterface {
14 public:
15 virtual ~AINoiseSuppressorExtension() {};
16 virtual int Init(const char* weight_raw_buffer, size_t raw_buffer_bytes) = 0;
17 virtual int ProcessDenoiseFrame(float* input, float* output, int stage) = 0;
18 virtual int ClearHiddenState(bool clear_hidden, int clear_lpsbuffer_nframe) = 0;
19 virtual const char* GetLibVersion(int mode = 0) = 0;
20 };
21
22
23 } // namespace rtc
24 } // namespace agora
agora::rtc::AINoiseSuppressorExtension::ClearHiddenState
virtual int ClearHiddenState(bool clear_hidden, int clear_lpsbuffer_nframe)=0
agora::rtc::AINoiseSuppressorExtension
Definition: NGIAgoraExtensionAINoiseSuppressor.h:13
agora::rtc::AINoiseSuppressorExtension::~AINoiseSuppressorExtension
virtual ~AINoiseSuppressorExtension()
Definition: NGIAgoraExtensionAINoiseSuppressor.h:15
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::AINoiseSuppressorExtension::ProcessDenoiseFrame
virtual int ProcessDenoiseFrame(float *input, float *output, int stage)=0
agora::RefCountInterface
Definition: AgoraRefPtr.h:31
agora::rtc::AINoiseSuppressorExtension::Init
virtual int Init(const char *weight_raw_buffer, size_t raw_buffer_bytes)=0
agora::rtc::AINoiseSuppressorExtension::GetLibVersion
virtual const char * GetLibVersion(int mode=0)=0
rtc
Definition: video_node_i.h:28