load_ibk(3alleg4)
β¨ NAME β¨
load_ibk β bestie, this one reads in a .IBK patch definition file for the Adlib driver π it's part of the Allegro game programming library, so you know it's giving main character energy π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int load_ibk(char *filename, int drums);
π DESCRIPTION π
okay so. load_ibk reads in a .IBK patch definition file, and that file is for the Adlib driver specifically. That's the whole vibe. π¦
Now the tea on the drums parameter β if drums is set, it loads the file as a percussion patch set. If it's not set, it gets used as a replacement set of General MIDI instruments instead. Two completely different lewks, same function, iykyk π
Timing? Flexible, bestie. You may call this before or after initialising the sound code β no order drama. OR you can simply set the ibk_file and ibk_drum_file variables in the configuration file and have the data loaded automatically, no function call needed. Choose your own adventure. π
β οΈ not me having to say this but: this function has no effect on any drivers other than the Adlib one! Like literally zero. So if you're not on Adlib, this is just a little decoration. π
π RETURN VALUE π
Returns non-zero on error. That's it. Zero means we ate, non-zero means something went sideways. π
π«Ά SEE ALSO π«Ά
and that's the whole page, no cap β¨ this was Allegro version 4.4.3, and it's load_ibk(3alleg4), periodt π
ππ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms