DOKK / manpages / debian 10 / allegro4-doc / lock_midi.3alleg4.en
lock_midi(3alleg4) Allegro manual lock_midi(3alleg4)

lock_midi - Locks all the memory used by a MIDI file. Allegro game programming library.

#include <allegro.h>

void lock_midi(MIDI *midi);

Under DOS, locks all the memory used by a MIDI file. You don't normally need to call this function because load_midi() does it for you.

load_midi(3alleg4)

version 4.4.2 Allegro