diff options
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; |