From 6896738560200e7245904c34bfd57f578ebb99d2 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Thu, 26 Sep 2019 15:13:35 +0300 Subject: Update MIDI Sequencer with latest copy from libOPNMIDI --- src/midi_sequencer.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/midi_sequencer.h') 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; -- cgit v1.2.3