pub unsafe extern "C" fn SherpaOnnxOnlineStreamIsEndpoint(
recognizer: *const SherpaOnnxOnlineRecognizer,
stream: *const SherpaOnnxOnlineStream,
) -> i32
Expand description
Return 1 if an endpoint has been detected.
@param recognizer A pointer returned by SherpaOnnxCreateOnlineRecognizer() @param stream A pointer returned by SherpaOnnxCreateOnlineStream() @return Return 1 if an endpoint is detected. Return 0 otherwise.