ailiaSpeechFinalizeInputData method
- Pointer<
AILIASpeech> net
~japanese @brief 音声のキューへの投入を終了します。 @param net ネットワークオブジェクトポインタ @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details 音声ファイルの末尾であることを通知することで、30秒分のデータが存在しなくてもailiaSpeechBufferedが1を返すようになります。 ailiaSpeechFinalizeInputDataを実行後、ailiaSpeechPushInputDataの実行前に、ailiaSpeechResetTranscribeStateを呼び出す必要があります。
~english @brief Finalize input PCM data to queue @param net A network instance pointer @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details By signaling the end of the audio file, ailiaSpeechBuffered will return 1 even if 30 seconds worth of data does not exist. You must call ailiaSpeechResetTranscribeState after executing ailiaSpeechFinalizeInputData and before executing ailiaSpeechPushInputData.
Implementation
int ailiaSpeechFinalizeInputData(
ffi.Pointer<AILIASpeech> net,
) {
return _ailiaSpeechFinalizeInputData(
net,
);
}