aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2018-07-03 23:37:35 +0300
committerGitHub <noreply@github.com>2018-07-03 23:37:35 +0300
commit586a040555a5aac4d932887bf9eedc31d947a823 (patch)
treeecb4b4455c53374aaf744861de91f491f31437b8 /include/adlmidi.h
parent167231c0cf19a7cffd30210817b571a0d0b55013 (diff)
parenteecf8221aeac7097b971d585140850d45271e7a0 (diff)
downloadlibADLMIDI-586a040555a5aac4d932887bf9eedc31d947a823.tar.gz
libADLMIDI-586a040555a5aac4d932887bf9eedc31d947a823.tar.bz2
libADLMIDI-586a040555a5aac4d932887bf9eedc31d947a823.zip
Merge pull request #126 from jpcima/bank-embed-api
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 00f478b..153cc5d 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.