pub unsafe extern "C" fn SherpaOnnxGetOnlineStreamResult(
recognizer: *const SherpaOnnxOnlineRecognizer,
stream: *const SherpaOnnxOnlineStream,
) -> *const SherpaOnnxOnlineRecognizerResult
Expand description
Get the decoding results so far for an OnlineStream.
@param recognizer A pointer returned by SherpaOnnxCreateOnlineRecognizer(). @param stream A pointer returned by SherpaOnnxCreateOnlineStream(). @return A pointer containing the result. The user has to invoke SherpaOnnxDestroyOnlineRecognizerResult() to free the returned pointer to avoid memory leak.