load_midi_patches - Man Page

Forces the MIDI driver to load a set of patches. Allegro game programming library.

Synopsis

#include <allegro.h>

int load_midi_patches();

Description

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.

Return Value

Returns non-zero if an error occurred.

See Also

install_sound(3), midi_out(3)

Referenced By

midi_out(3).

version 4.4.3 Allegro manual