coqui_stt_sys

Function STT_FinishStream

Source
pub unsafe extern "C" fn STT_FinishStream(
    aSctx: *mut StreamingState,
) -> *mut c_char
Expand description

@brief Compute the final decoding of an ongoing streaming inference and return the result. Signals the end of an ongoing streaming inference.

@param aSctx A streaming state pointer returned by {@link STT_CreateStream()}.

@return The STT result. The user is responsible for freeing the string using {@link STT_FreeString()}.

@note This method will free the state pointer (@p aSctx).