pub unsafe extern "C" fn SherpaOnnxDecodeOnlineStream(
recognizer: *const SherpaOnnxOnlineRecognizer,
stream: *const SherpaOnnxOnlineStream,
)
Expand description
Precondition for this function: SherpaOnnxIsOnlineStreamReady() MUST return 1.
Usage example:
while (SherpaOnnxIsOnlineStreamReady(recognizer, stream)) { SherpaOnnxDecodeOnlineStream(recognizer, stream); }