diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-06-20 21:45:54 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-06-20 23:23:09 +0200 |
commit | 252e65097e9b8a815485fc03e4358698803f1a73 (patch) | |
tree | 1ece6563e49c2d82bdb453f0f0c5ce258db63874 /include | |
parent | 94dba775b234a57ad45dabf77200d305c94d7bf0 (diff) | |
download | libADLMIDI-252e65097e9b8a815485fc03e4358698803f1a73.tar.gz libADLMIDI-252e65097e9b8a815485fc03e4358698803f1a73.tar.bz2 libADLMIDI-252e65097e9b8a815485fc03e4358698803f1a73.zip |
basic framework of sysex handling and sequencer support
Diffstat (limited to 'include')
-rw-r--r-- | include/adlmidi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index fe1f590..028aea8 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, unsigned size); + /**Hooks**/ |