Trait fmod::core::SystemCallback

source ·
pub trait SystemCallback {
Show 17 methods // Provided methods fn device_list_changed(system: System, userdata: *mut c_void) -> Result<()> { ... } fn device_lost(system: System, userdata: *mut c_void) -> Result<()> { ... } fn memory_allocation_failed( system: System, file: &Utf8CStr, size: c_int, userdata: *mut c_void, ) -> Result<()> { ... } fn thread_created( system: System, handle: *mut c_void, thread_name: &Utf8CStr, userdata: *mut c_void, ) -> Result<()> { ... } fn bad_dsp_connection(system: System, userdata: *mut c_void) -> Result<()> { ... } fn premix(system: System, userdata: *mut c_void) -> Result<()> { ... } fn postmix(system: System, userdata: *mut c_void) -> Result<()> { ... } fn error( system: System, error_info: ErrorCallbackInfo<'_>, userdata: *mut c_void, ) -> Result<()> { ... } fn mid_mix(system: System, userdata: *mut c_void) -> Result<()> { ... } fn thread_destroyed( system: System, handle: *mut c_void, thread_name: &Utf8CStr, userdata: *mut c_void, ) -> Result<()> { ... } fn pre_update(system: System, userdata: *mut c_void) -> Result<()> { ... } fn post_update(system: System, userdata: *mut c_void) -> Result<()> { ... } fn record_list_changed(system: System, userdata: *mut c_void) -> Result<()> { ... } fn buffered_no_mix(system: System, userdata: *mut c_void) -> Result<()> { ... } fn device_reinitialize( system: System, output_type: OutputType, driver_index: c_int, userdata: *mut c_void, ) -> Result<()> { ... } fn output_underrun(system: System, userdata: *mut c_void) -> Result<()> { ... } fn record_position_changed( system: System, sound: Sound, record_position: c_int, userdata: *mut c_void, ) -> Result<()> { ... }
}

Provided Methods§

source

fn device_list_changed(system: System, userdata: *mut c_void) -> Result<()>

source

fn device_lost(system: System, userdata: *mut c_void) -> Result<()>

source

fn memory_allocation_failed( system: System, file: &Utf8CStr, size: c_int, userdata: *mut c_void, ) -> Result<()>

source

fn thread_created( system: System, handle: *mut c_void, thread_name: &Utf8CStr, userdata: *mut c_void, ) -> Result<()>

source

fn bad_dsp_connection(system: System, userdata: *mut c_void) -> Result<()>

source

fn premix(system: System, userdata: *mut c_void) -> Result<()>

source

fn postmix(system: System, userdata: *mut c_void) -> Result<()>

source

fn error( system: System, error_info: ErrorCallbackInfo<'_>, userdata: *mut c_void, ) -> Result<()>

source

fn mid_mix(system: System, userdata: *mut c_void) -> Result<()>

source

fn thread_destroyed( system: System, handle: *mut c_void, thread_name: &Utf8CStr, userdata: *mut c_void, ) -> Result<()>

source

fn pre_update(system: System, userdata: *mut c_void) -> Result<()>

source

fn post_update(system: System, userdata: *mut c_void) -> Result<()>

source

fn record_list_changed(system: System, userdata: *mut c_void) -> Result<()>

source

fn buffered_no_mix(system: System, userdata: *mut c_void) -> Result<()>

source

fn device_reinitialize( system: System, output_type: OutputType, driver_index: c_int, userdata: *mut c_void, ) -> Result<()>

source

fn output_underrun(system: System, userdata: *mut c_void) -> Result<()>

source

fn record_position_changed( system: System, sound: Sound, record_position: c_int, userdata: *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§