Skip to main content

AECInterop

Module: Inworld.Native Namespace: Inworld.AEC

This file declares all the functions in webrtc_etc_plugin.dll.

API

FunctionDescriptionParameters
WebRtcAec3_CreateCreate a pointer of AECHandle in plugin dll.sample_rate_hz: (Deprecated) the sample rate of the audio (has to be 16000 if use Inworld's wave data)
WebRtcAec3_FreeFree the AECHandle. Please call it upon destruction.handle: (Deprecated) the pointer of a customized AECHandle to destroy.
WebRtcAec3_BufferFarendSample the far end data. Far end audio is the current ambisonic environment of the audio data.handle: (Deprecated) the current pointer AECHandle to use.
farend: the far end data (Sampled by AudioListener) to remove.
WebRtcAec3_ProcessProcess the actual echo removal.handle: (Deprecated) the current pointer AECHandle to use.
nearend: the near end (microphone) data that needs to process.
output: the near end data will substract the far end data, to keep the microphone voice only.