SoundPcmSetPosCallback

Type Alias SoundPcmSetPosCallback 

Source
pub type SoundPcmSetPosCallback = Option<fn(sound: &Sound, sub_sound: i32, position: u32, postype: TimeUnit) -> Status>;
Expand description

notify the user that music position has changed

Aliased Type§

pub enum SoundPcmSetPosCallback {
    None,
    Some(fn(&Sound, i32, u32, TimeUnit) -> Status),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(fn(&Sound, i32, u32, TimeUnit) -> Status)

Some value of type T.