sherpa_rs_sys

Type Alias SherpaOnnxOfflineSpeakerDiarizationProgressCallback

Source
pub type SherpaOnnxOfflineSpeakerDiarizationProgressCallback = Option<unsafe extern "C" fn(num_processed_chunks: i32, num_total_chunks: i32, arg: *mut c_void) -> i32>;

Aliased Type§

enum SherpaOnnxOfflineSpeakerDiarizationProgressCallback {
    None,
    Some(unsafe extern "C" fn(_: i32, _: i32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: i32, _: i32, _: *mut c_void) -> i32)

Some value of type T.