vad_init method
Initialize VAD with configuration and model @param handle VAD handle @param config Pointer to VAD configuration @param model_path Path to ONNX model file (can be NULL for bundled model) @return 0 on success, negative error code on failure
Implementation
int vad_init(
ffi.Pointer<VADHandle> handle,
ffi.Pointer<VADConfig> config,
ffi.Pointer<ffi.Char> model_path,
) {
return _vad_init(handle, config, model_path);
}