aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2019-11-15 23:16:22 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2019-11-15 23:16:22 +0300
commit2a2613b2da30dcb835440f9d80f2fbf2a068e29f (patch)
treea75778dc8a14bff6e11b663c24d489598db89169 /src/midi_sequencer.h
parent45190534246f6c5186aa1708187d5010363db03d (diff)
parentd21b27084532dca78f07ff87f578330f7c6f9755 (diff)
downloadlibADLMIDI-2a2613b2da30dcb835440f9d80f2fbf2a068e29f.tar.gz
libADLMIDI-2a2613b2da30dcb835440f9d80f2fbf2a068e29f.tar.bz2
libADLMIDI-2a2613b2da30dcb835440f9d80f2fbf2a068e29f.zip
Merge remote-tracking branch 'origin/master' into wip-new-embedded-banks
Diffstat (limited to 'src/midi_sequencer.h')
-rw-r--r--src/midi_sequencer.h14
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;