Provided by: allegro4-doc_4.4.2-10_all
load_midi_patches - Forces the MIDI driver to load a set of patches. Allegro game programming library.
#include <allegro.h> int load_midi_patches();
Forces the MIDI driver to load the entire set of patches ready for use. You will not normally need to call this, because Allegro automatically loads whatever data is required for the current MIDI file, but you must call it before sending any program change messages via the midi_out() command.
Returns non-zero if an error occurred.