XPLMPCMComplete_f

Type Alias XPLMPCMComplete_f 

Source
pub type XPLMPCMComplete_f = Option<unsafe extern "C" fn(inRefcon: *mut c_void, status: FMOD_RESULT)>;
Expand description

XPLMPCMComplete_f

If you use XPLMPlayPCMOnBus() you may use this optional callback to find out when the FMOD::Channel is complete, if you need to deallocate memory for example.

Aliased Type§

pub enum XPLMPCMComplete_f {
    None,
    Some(unsafe extern "C" fn(*mut c_void, i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, i32))

Some value of type T.