sherpa_rs_sys

Function SherpaOnnxDecodeMultipleOfflineStreams

Source
pub unsafe extern "C" fn SherpaOnnxDecodeMultipleOfflineStreams(
    recognizer: *const SherpaOnnxOfflineRecognizer,
    streams: *mut *const SherpaOnnxOfflineStream,
    n: i32,
)
Expand description

Decode a list offline streams in parallel.

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

@param recognizer A pointer returned by SherpaOnnxCreateOfflineRecognizer(). @param streams A pointer pointer array containing pointers returned by SherpaOnnxCreateOfflineStream(). @param n Number of entries in the given streams.