diff options
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r-- | include/adlmidi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index 00f478b..bf146db 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -132,7 +132,6 @@ enum ADL_BankAccessFlags typedef struct ADL_Instrument ADL_Instrument; -#if defined(ADLMIDI_UNSTABLE_API) /* Preallocates a minimum number of bank slots. Returns the actual capacity. */ extern int adl_reserveBanks(struct ADL_MIDIPlayer *device, unsigned banks); /* Gets the bank designated by the identifier, optionally creating if it does not exist. */ @@ -149,7 +148,9 @@ extern int adl_getNextBank(struct ADL_MIDIPlayer *device, ADL_Bank *bank); extern int adl_getInstrument(struct ADL_MIDIPlayer *device, const ADL_Bank *bank, unsigned index, ADL_Instrument *ins); /* Sets the nth intrument in the bank [0..127]. */ extern int adl_setInstrument(struct ADL_MIDIPlayer *device, ADL_Bank *bank, unsigned index, const ADL_Instrument *ins); -#endif /* defined(ADLMIDI_UNSTABLE_API) */ +/* Loads the melodic or percussive part of the nth embedded bank. */ +extern int adl_loadEmbeddedBank(struct ADL_MIDIPlayer *device, ADL_Bank *bank, int num); + /*Sets number of 4-operator channels between all chips. By default, it is automatically re-calculating every bank change. |