sherpa_rs_sys

Function SherpaOnnxIsOnlineStreamReady

Source
pub unsafe extern "C" fn SherpaOnnxIsOnlineStreamReady(
    recognizer: *const SherpaOnnxOnlineRecognizer,
    stream: *const SherpaOnnxOnlineStream,
) -> i32
Expand description

Return 1 if there are enough number of feature frames for decoding. Return 0 otherwise.

@param recognizer A pointer returned by SherpaOnnxCreateOnlineRecognizer @param stream A pointer returned by SherpaOnnxCreateOnlineStream