logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

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

Name

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

Return Value

       Returns non-zero on error.

See Also

install_sound(3alleg4)

Allegro                                           version 4.4.3                                load_ibk(3alleg4)

Synopsis

#include<allegro.h>intload_ibk(char*filename,intdrums);

See Also