diff options
author | Wohlstand <admin@wohlnet.ru> | 2019-09-26 15:13:35 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2019-09-26 15:13:35 +0300 |
commit | 6896738560200e7245904c34bfd57f578ebb99d2 (patch) | |
tree | 9a8f7f2ceba192444eb69157c39897188d728cc3 /src/midi_sequencer.h | |
parent | 18c6c50bfbdd100f2add6c689bff5fdad52a989a (diff) | |
download | libADLMIDI-6896738560200e7245904c34bfd57f578ebb99d2.tar.gz libADLMIDI-6896738560200e7245904c34bfd57f578ebb99d2.tar.bz2 libADLMIDI-6896738560200e7245904c34bfd57f578ebb99d2.zip |
Update MIDI Sequencer with latest copy from libOPNMIDI
Diffstat (limited to 'src/midi_sequencer.h')
-rw-r--r-- | src/midi_sequencer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/midi_sequencer.h b/src/midi_sequencer.h index a914451..3f4b750 100644 --- a/src/midi_sequencer.h +++ b/src/midi_sequencer.h @@ -52,6 +52,20 @@ typedef struct BW_MidiRtInterface /*! User data which will be passed through Debug Message hook */ void *onDebugMessage_userData; + /*! Loop Start event hook */ + typedef void (*LoopStartHook)(void *userdata); + /*! Loop start hook which catches passing of loop start point */ + LoopStartHook onloopStart; + /*! User data which will be passed through On-LoopStart hook */ + void *onloopStart_userData; + + /*! Loop Start event hook */ + typedef void (*LoopEndHook)(void *userdata); + /*! Loop start hook which catches passing of loop start point */ + LoopEndHook onloopEnd; + /*! User data which will be passed through On-LoopStart hook */ + void *onloopEnd_userData; + /*! MIDI Run Time event calls user data */ void *rtUserData; |