[][src]Function fluidlite_sys::fluid_synth_set_preset_callback

pub unsafe extern "C" fn fluid_synth_set_preset_callback(callback: *mut c_void)

Set an optional function callback each time a preset has finished loading. This can be useful when calling fluid_synth_sfload asynchronously. The function must be formatted like this: void my_callback_function(int bank, int num, char* name)

\param callback Pointer to the function