coqui_stt_sys

Function STT_FreeStream

Source
pub unsafe extern "C" fn STT_FreeStream(aSctx: *mut StreamingState)
Expand description

@brief Destroy a streaming state without decoding the computed logits. This can be used if you no longer need the result of an ongoing streaming inference and don’t want to perform a costly decode operation.

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

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