1load_ibk(3)                     Allegro manual                     load_ibk(3)
2
3
4

NAME

6       load_ibk  - Reads in a .IBK patch definition file for the Adlib driver.
7       Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int load_ibk(char *filename, int drums);
14

DESCRIPTION

16       Reads in a .IBK patch definition file for use by the Adlib  driver.  If
17       drums  is  set, it will load it as a percussion patch set, otherwise it
18       will use it as a replacement set of General MIDI instruments.  You  may
19       call  this  before  or after initialising the sound code, or can simply
20       set the ibk_file and ibk_drum_file variables in the configuration  file
21       to  have  the data loaded automatically. Note that this function has no
22       effect on any drivers other than the Adlib one!
23

RETURN VALUE

25       Returns non-zero on error.
26
27
28
29

SEE ALSO

31       install_sound(3)
32
33
34
35Allegro                          version 4.2.2                     load_ibk(3)
Impressum