sherpa_rs_sys

Function SherpaOnnxDecodeOfflineStream

Source
pub unsafe extern "C" fn SherpaOnnxDecodeOfflineStream(
    recognizer: *const SherpaOnnxOfflineRecognizer,
    stream: *const SherpaOnnxOfflineStream,
)
Expand description

Decode an offline stream.

We assume you have invoked SherpaOnnxAcceptWaveformOffline() for the given stream before calling this function.

@param recognizer A pointer returned by SherpaOnnxCreateOfflineRecognizer(). @param stream A pointer returned by SherpaOnnxCreateOfflineStream()