ailiaSpeechFinalizeInputData method

int ailiaSpeechFinalizeInputData(
  1. Pointer<AILIASpeech> net
)

Finalize input PCM data to queue

Parameters:

  • net: A network instance pointer

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

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