Skip to main content

CMarkCb

Type Alias CMarkCb 

Source
pub type CMarkCb = Option<extern "C" fn(*const c_char, i32, f32, f32, *mut c_void)>;
Expand description

Mark/bookmark callback: cb(name, char_offset, start_s, end_s, userdata). char_offset is -1 when unknown; start/end are the measured (or estimated) audio position the mark fires at.

Aliased Type§

pub enum CMarkCb {
    None,
    Some(extern "C" fn(*const i8, i32, f32, f32, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(*const i8, i32, f32, f32, *mut c_void))

Some value of type T.