logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

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.

Name

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

Return Value

       Returns non-zero if an error occurred.

See Also

install_sound(3alleg4), midi_out(3alleg4)

Allegro                                           version 4.4.3                       load_midi_patches(3alleg4)

Synopsis

#include<allegro.h>intload_midi_patches();

See Also