SoundPcmReadCallback

Type Alias SoundPcmReadCallback 

Source
pub type SoundPcmReadCallback = Option<fn(sound: &Sound, data: &mut [i16]) -> Status>;
Expand description

callback which allow to set/change data that will be played

Aliased Type§

pub enum SoundPcmReadCallback {
    None,
    Some(fn(&Sound, &mut [i16]) -> Status),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(fn(&Sound, &mut [i16]) -> Status)

Some value of type T.