lock_midi(3alleg4)

πŸ’– lock_midi(3alleg4) πŸ’–

okay bestie, welcome to the lock_midi(3alleg4) page from the Allegro manual β€” yes, the Allegro game programming library, serving retro game dev main character energy. πŸŽ€


✨ NAME ✨

lock_midi β€” locks all the memory used by a MIDI file. Allegro game programming library. No cap. πŸ¦‹

✨ SYNOPSIS ✨

#include <allegro.h>

void lock_midi(MIDI *midi);

🌸 DESCRIPTION 🌸

So under DOS, this function locks all the memory used by a MIDI file. That's the whole vibe. πŸ’…

You don't normally need to call this function yourself, because load_midi() does it for you. So unless you're deep in your DOS era and know exactly why you're here, load_midi() has your back. 🫢

lowkey important: this is the DOS memory-locking situation, not a random everyday call you sprinkle on everything. The manual says you don't normally need to call it. periodt. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole page, bestie. this tea came from the Allegro manual, version 4.4.3, for lock_midi(3alleg4), with no date in sight. slay and goodbye ✨