Skip to main content

AECInterop

Module: Inworld.Native Namespace: Inworld.VAD

This file declares all the functions in inworld-ndk-vad.dll.

API

FunctionDescriptionParameters
VAD_InitializeInitialize the VAD plugin with the prebuilt onnx file.
We cannot use Sentis for now, because Sentis does not support IF in model.
model: the file path of the onnx model to load.
VAD_TerminateFree the VAD Handle
VAD_ProcessSample the wave data from the microphone.audioData: the float array of the audio data we're sending.
size: the size of the audio data.
VAD_ResetStateClear the history input and reset the state.