pub unsafe extern "C" fn STT_CreateStream(
aCtx: *mut ModelState,
retval: *mut *mut StreamingState,
) -> c_int
Expand description
@brief Create a new streaming inference state. The streaming state returned by this function can then be passed to {@link STT_FeedAudioContent()} and {@link STT_FinishStream()}.
@param aCtx The ModelState pointer for the model to use. @param[out] retval an opaque pointer that represents the streaming state. Can be NULL if an error occurs.
@return Zero for success, non-zero on failure.