pub unsafe extern "C" fn SherpaOnnxGetOfflineStreamResult(
stream: *const SherpaOnnxOfflineStream,
) -> *const SherpaOnnxOfflineRecognizerResult
Expand description
Get the result of the offline stream.
We assume you have called SherpaOnnxDecodeOfflineStream() or SherpaOnnxDecodeMultipleOfflineStreams() with the given stream before calling this function.
@param stream A pointer returned by SherpaOnnxCreateOfflineStream(). @return Return a pointer to the result. The user has to invoke SherpaOnnxDestroyOnlineRecognizerResult() to free the returned pointer to avoid memory leak.