ailiaSpeechOpenVadFileW method

int ailiaSpeechOpenVadFileW(
  1. Pointer<AILIASpeech> net,
  2. Pointer<WChar> vad_path,
  3. int vad_type
)

~japanese @brief 無音検知に適用するVADモデルを指定します。(UTF16) @param net ネットワークオブジェクトポインタ @param vad_path onnxファイルのパス名(UTF16) @param vad_type AILIA_SPEECH_VAD_TYPE_* @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Set vad model for voice activity detection. @param net A network instance pointer @param vad_path The path name to the onnx file (UTF16) @param vad_type AILIA_SPEECH_VAD_TYPE_* @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaSpeechOpenVadFileW(
  ffi.Pointer<AILIASpeech> net,
  ffi.Pointer<ffi.WChar> vad_path,
  int vad_type,
) {
  return _ailiaSpeechOpenVadFileW(
    net,
    vad_path,
    vad_type,
  );
}