aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-07-03 18:50:49 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-07-03 19:49:00 +0200
commiteecf8221aeac7097b971d585140850d45271e7a0 (patch)
treef34817c9d2878a89880d376a2ee5e68fae0cb7a5 /include/adlmidi.h
parent96960d1dd9ff21adfc4e5171f4a6ef4f2a3e57a6 (diff)
downloadlibADLMIDI-eecf8221aeac7097b971d585140850d45271e7a0.tar.gz
libADLMIDI-eecf8221aeac7097b971d585140850d45271e7a0.tar.bz2
libADLMIDI-eecf8221aeac7097b971d585140850d45271e7a0.zip
embedded bank loading API into multi-bank
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h2
1 files changed, 2 insertions, 0 deletions
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.