ailiaVoiceGetFeatures method

int ailiaVoiceGetFeatures(
  1. Pointer<AILIAVoice> net,
  2. Pointer<Char> features,
  3. int len
)

~japanese @brief フィーチャーを取得します。 @param net ボイスオブジェクトポインタ @param features フィーチャー(UTF8) @param len フィーチャーの長さ @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details ailiaVoiceGraphemeToPhoneme() もしくは ailiaVoiceExtractFullContext() を一度も実行していない場合は \ref AILIA_STATUS_INVALID_STATE が返ります。

~english @brief Gets the decoded features. @param net A Voice instance pointer @param features Features(UTF8) @param len The length of features @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details If ailiaVoiceGraphemeToPhoneme() or ailiaVoiceExtractFullContext() is not run at all, the function returns \ref AILIA_STATUS_INVALID_STATE .

Implementation

int ailiaVoiceGetFeatures(
  ffi.Pointer<AILIAVoice> net,
  ffi.Pointer<ffi.Char> features,
  int len,
) {
  return _ailiaVoiceGetFeatures(
    net,
    features,
    len,
  );
}