aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/midi_sequencer.h')
-rw-r--r--src/midi_sequencer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/midi_sequencer.h b/src/midi_sequencer.h
index b9b8982..4d35d06 100644
--- a/src/midi_sequencer.h
+++ b/src/midi_sequencer.h
@@ -79,6 +79,12 @@ typedef struct BW_MidiRtInterface
/*! User data which will be passed through On-LoopStart hook */
void *onloopEnd_userData;
+ typedef void (*SongStartHook)(void *userdata);
+ /*! Song start hook which is calling when starting playing song at begin */
+ SongStartHook onSongStart;
+ /*! User data which will be passed through On-SongStart hook */
+ void *onSongStart_userData;
+
/*! MIDI Run Time event calls user data */
void *rtUserData;