aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-22 23:39:30 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-22 23:39:30 +0300
commit9c69b10a7a7e7de196db45ab8f39e8be014e2fba (patch)
tree1ec5a2991af8ee08619a9765d3d516f88bdb09ba /include/adlmidi.h
parentb12d83a20db8c3b7bcf5d94d0ae19ab28df3ca82 (diff)
parentde7550a4cc643b37449eb791f09b625bf1af17fb (diff)
downloadlibADLMIDI-9c69b10a7a7e7de196db45ab8f39e8be014e2fba.tar.gz
libADLMIDI-9c69b10a7a7e7de196db45ab8f39e8be014e2fba.tar.bz2
libADLMIDI-9c69b10a7a7e7de196db45ab8f39e8be014e2fba.zip
Merge SysEx support branch and now we have experimental SysEx support!
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index fe1f590..8bb0bf1 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -237,6 +237,9 @@ extern const char *adl_errorInfo(struct ADL_MIDIPlayer *device);
/*Initialize ADLMIDI Player device*/
extern struct ADL_MIDIPlayer *adl_init(long sample_rate);
+/*Set 4-bit device identifier*/
+extern int adl_setDeviceIdentifier(struct ADL_MIDIPlayer *device, unsigned id);
+
/*Load MIDI file from File System*/
extern int adl_openFile(struct ADL_MIDIPlayer *device, const char *filePath);
@@ -364,6 +367,9 @@ extern void adl_rt_bankChangeMSB(struct ADL_MIDIPlayer *device, ADL_UInt8 channe
/*Change bank by absolute signed value*/
extern void adl_rt_bankChange(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_SInt16 bank);
+/*Perform a system exclusive message*/
+extern int adl_rt_systemExclusive(struct ADL_MIDIPlayer *device, const ADL_UInt8 *msg, size_t size);
+
/**Hooks**/