vad_init method

int vad_init(
  1. Pointer<VADHandle> handle,
  2. Pointer<VADConfig> config,
  3. Pointer<Char> model_path
)

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);
}