pub unsafe extern "C" fn SherpaOnnxCreateOfflineStream(
recognizer: *const SherpaOnnxOfflineRecognizer,
) -> *const SherpaOnnxOfflineStream
Expand description
Create an offline stream for accepting wave samples.
@param recognizer A pointer returned by SherpaOnnxCreateOfflineRecognizer() @return Return a pointer to an OfflineStream. The user has to invoke SherpaOnnxDestroyOfflineStream() to free it to avoid memory leak.