Agora RTC Objective-C API Reference Refactor

NGIAgoraExtensionAiAec.h
Go to the documentation of this file.
1
2 // Agora SDK
3 //
4 // Created by LLF on 2022-8-15.
5 // Copyright (c) 2022 Agora. All rights reserved.
6 //
7
8 #pragma once // NOLINT(build/header_guard)
9
10 #include "AgoraRefPtr.h"
11
12 #define MAX_VERSION_LEN 64
13
14 namespace agora {
15 namespace rtc {
16
17 class AiEchoCancellationExtension : public RefCountInterface {
18 public:
19 virtual ~AiEchoCancellationExtension() {};
20
21 virtual int ProcessAiNlpFrame(float* input, float* output) = 0;
22 virtual int ClearHiddenState(float scale_factor = 0.0) = 0;
23 virtual void Version(char ver[MAX_VERSION_LEN]) = 0;
24 };
25
26 } // namespace rtc
27 } // namespace agora
agora::rtc::AiEchoCancellationExtension::ProcessAiNlpFrame
virtual int ProcessAiNlpFrame(float *input, float *output)=0
agora::rtc::AiEchoCancellationExtension::ClearHiddenState
virtual int ClearHiddenState(float scale_factor=0.0)=0
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::AiEchoCancellationExtension
Definition: NGIAgoraExtensionAiAec.h:17
agora::rtc::AiEchoCancellationExtension::~AiEchoCancellationExtension
virtual ~AiEchoCancellationExtension()
Definition: NGIAgoraExtensionAiAec.h:19
MAX_VERSION_LEN
#define MAX_VERSION_LEN
Definition: NGIAgoraExtensionAiAec.h:12
AgoraRefPtr.h
agora::RefCountInterface
Definition: AgoraRefPtr.h:31
agora::rtc::AiEchoCancellationExtension::Version
virtual void Version(char ver[MAX_VERSION_LEN])=0