ailiaVoiceInference method

int ailiaVoiceInference(
  1. Pointer<AILIAVoice> net,
  2. Pointer<Char> utf8
)

~japanese @brief 推論を行います。 @param net ボイスオブジェクトポインタ @param text テキスト(UTF8) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details 音声合成した結果はailiaVoiceGetWave APIで取得します。

~english @brief Perform inference @param net A Voice instance pointer @param text Text(UTF8) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details Get the result with ailiaVoiceGetWave API.

Implementation

int ailiaVoiceInference(
  ffi.Pointer<AILIAVoice> net,
  ffi.Pointer<ffi.Char> utf8,
) {
  return _ailiaVoiceInference(
    net,
    utf8,
  );
}