pub unsafe extern "C" fn DS_CreateStream(
aCtx: *mut ModelState,
retval: *mut *mut StreamingState,
) -> c_intExpand description
@brief Create a new streaming inference state. The streaming state returned by this function can then be passed to {@link DS_FeedAudioContent()} and {@link DS_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.