fluid_synth_program_reset

Function fluid_synth_program_reset 

Source
pub unsafe extern "C" fn fluid_synth_program_reset(
    synth: *mut fluid_synth_t,
) -> c_int
Expand description

Send a bank select and a program change to every channel to reinitialize the preset of the channel. This function is useful mainly after a SoundFont has been loaded, unloaded or reloaded. . Returns 0 if no error occurred, -1 otherwise.