From eecf8221aeac7097b971d585140850d45271e7a0 Mon Sep 17 00:00:00 2001 From: JP Cimalando Date: Tue, 3 Jul 2018 18:50:49 +0200 Subject: embedded bank loading API into multi-bank --- include/adlmidi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/adlmidi.h') diff --git a/include/adlmidi.h b/include/adlmidi.h index a1289a0..348b15c 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -149,6 +149,8 @@ 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); +/* Loads the melodic or percussive part of the nth embedded bank. */ +extern int adl_loadEmbeddedBank(struct ADL_MIDIPlayer *device, ADL_Bank *bank, int num); #endif /* defined(ADLMIDI_UNSTABLE_API) */ /*Sets number of 4-operator channels between all chips. -- cgit v1.2.3