AECInterop
Module: Inworld.Native Namespace: Inworld.VAD
This file declares all the functions in inworld-ndk-vad.dll
.
API
Function | Description | Parameters |
---|---|---|
VAD_Initialize | Initialize 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_Terminate | Free the VAD Handle | |
VAD_Process | Sample 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_ResetState | Clear the history input and reset the state. |