sherpa_rs_sys

Type Alias SherpaOnnxGeneratedAudioProgressCallbackWithArg

Source
pub type SherpaOnnxGeneratedAudioProgressCallbackWithArg = Option<unsafe extern "C" fn(samples: *const f32, n: i32, p: f32, arg: *mut c_void) -> i32>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.