1load_midi_patches(3) Allegro manual load_midi_patches(3)
2
3
4
6 load_midi_patches - Forces the MIDI driver to load a set of patches.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 int load_midi_patches();
14
16 Forces the MIDI driver to load the entire set of patches ready for use.
17 You will not normally need to call this, because Allegro automatically
18 loads whatever data is required for the current MIDI file, but you must
19 call it before sending any program change messages via the midi_out()
20 command.
21
23 Returns non-zero if an error occurred.
24
25
27 install_sound(3), midi_out(3)
28
29
30
31Allegro version 4.2.2 load_midi_patches(3)