Agora Java API Reference for Android
media_sdk_script
rte_sdk
interface
cpp
api2
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
Definition:
NGIAgoraExtensionAINoiseSuppressor.h:13
agora::RefCountInterface
Definition:
AgoraRefPtr.h:31
Generated by
1.8.18