InworldAECAudioCapture
Module: Inworld.NDK. Namespace: Inworld.AEC. Inherited from AudioCapture.
This is the AudioCapture that enables Acoustic Echo Cancellation.
Inspector Variables
Variables | Description |
---|---|
Dump Audio Hot Key | Hold 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
Peorperties | Description |
---|---|
Probe | Get the AECProbe. Will create one and attach to the AudioListener if not existing. |
EnableAEC | A flag for whether AEC is enabled. |
EnableVAD | A flag for this component is using VAD. Currently we only support Windows, will support all platforms when Sentis is ready. |
IsAvailable | Check if needs processing AEC. For mobile device such as Android/iOS they naturally supported via hardware. |
APIs
Functions | Description | Parameters |
---|---|---|
GetOutputData | Get 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. |
SendProbeToAudioListener | Call it when you switch AudioListener(mostly Main Camera) |