aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-10-17 03:57:21 +0300
committerWohlstand <admin@wohlnet.ru>2017-10-17 03:57:21 +0300
commitc07b146a1a3991edd6c3233dcd1956b989303dd3 (patch)
treec48650bbdcc9d64c2b4179cc3df9fd0fcd0ecbd6 /src/adlmidi.h
parent3a1a97809d0a9b88916e5213f239fac046244241 (diff)
downloadlibADLMIDI-c07b146a1a3991edd6c3233dcd1956b989303dd3.tar.gz
libADLMIDI-c07b146a1a3991edd6c3233dcd1956b989303dd3.tar.bz2
libADLMIDI-c07b146a1a3991edd6c3233dcd1956b989303dd3.zip
EXPERIMENTAL: Support for custom banks!
TODO: Fix support for real 4-operator support for dynamical instruments which now are silent. 2-op and pseudo-4-op still work fine.
Diffstat (limited to 'src/adlmidi.h')
-rw-r--r--src/adlmidi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/adlmidi.h b/src/adlmidi.h
index 89e853f..752e307 100644
--- a/src/adlmidi.h
+++ b/src/adlmidi.h
@@ -106,6 +106,12 @@ extern void adl_setLogarithmicVolumes(struct ADL_MIDIPlayer *device, int logvol)
/*Set different volume range model */
extern void adl_setVolumeRangeModel(struct ADL_MIDIPlayer *device, int volumeModel);
+/*Load WOPL bank file from File System*/
+extern int adl_openBankFile(struct ADL_MIDIPlayer *device, char *filePath);
+
+/*Load WOPL bank file from memory data*/
+extern int adl_openBankData(struct ADL_MIDIPlayer *device, void *mem, long size);
+
/*Returns string which contains last error message*/
extern const char *adl_errorString();