diff options
author | Wohlstand <admin@wohlnet.ru> | 2016-09-02 21:28:34 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2016-09-02 21:28:34 +0300 |
commit | a0f4075b6c7bcf5967be78ae6bf2cefe94ad755e (patch) | |
tree | fb6b83b88a7aad5d4758b6cb2c76e3a2f884c6f1 /src/adlmidi.h | |
parent | 3c07f61b132a06b4963bffc109c1395af1640b29 (diff) | |
download | libADLMIDI-a0f4075b6c7bcf5967be78ae6bf2cefe94ad755e.tar.gz libADLMIDI-a0f4075b6c7bcf5967be78ae6bf2cefe94ad755e.tar.bz2 libADLMIDI-a0f4075b6c7bcf5967be78ae6bf2cefe94ad755e.zip |
Added a function to retrieve a count of the banks
Diffstat (limited to 'src/adlmidi.h')
-rw-r--r-- | src/adlmidi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/adlmidi.h b/src/adlmidi.h index 115c0a6..23dd65c 100644 --- a/src/adlmidi.h +++ b/src/adlmidi.h @@ -60,9 +60,12 @@ struct ADL_MIDIPlayer { /* Sets number of emulated sound cards (from 1 to 100). Emulation of multiple sound cards exchanges polyphony limits*/ extern int adl_setNumCards(struct ADL_MIDIPlayer*device, int numCards); -/* Sets a number of the patches bank from 0 to 64 */ +/* Sets a number of the patches bank from 0 to N banks */ extern int adl_setBank(struct ADL_MIDIPlayer* device, int bank); +/* Returns total number of available banks */ +extern int adl_getBanksCount(); + /*Sets number of 4-chan operators*/ extern int adl_setNumFourOpsChn(struct ADL_MIDIPlayer*device, int ops4); |