Skip to main content

InworldAECAudioCapture

Module: Inworld.NDK. Namespace: Inworld.AEC. Inherited from AudioCapture.

This is the AudioCapture that enables Acoustic Echo Cancellation.

Inspector Variables

VariablesDescription
Dump Audio Hot KeyHold the key to sample, release the key to save to local files.
By default the files would be stored at DebugInput.wav, DebugOutput.wav, and DebugFilter.wav.
The hot key by default is not set.

Properties

PeorpertiesDescription
ProbeGet the AECProbe. Will create one and attach to the AudioListener if not existing.
EnableAECA flag for whether AEC is enabled.
EnableVADA flag for this component is using VAD. Currently we only support Windows, will support all platforms when Sentis is ready.
IsAvailableCheck if needs processing AEC. For mobile device such as Android/iOS they naturally supported via hardware.

APIs

FunctionsDescriptionParameters
GetOutputDataGet the audio data from the AudioListener. Need AECProbe attached to the AudioListener first.data: the output wave data.
channels: the number of the channels in the wave data.
SendProbeToAudioListenerCall it when you switch AudioListener(mostly Main Camera)