Function fluidlite_sys::fluid_synth_get_program[][src]

pub unsafe extern "C" fn fluid_synth_get_program(
    synth: *mut fluid_synth_t,
    chan: c_int,
    sfont_id: *mut c_uint,
    bank_num: *mut c_uint,
    preset_num: *mut c_uint
) -> c_int
Expand description

Returns the program, bank, and SoundFont number of the preset on a given channel. Returns 0 if no error occurred, -1 otherwise.