summaryrefslogtreecommitdiffstats
path: root/src/engine/InternalTrigger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/InternalTrigger.cpp')
-rw-r--r--src/engine/InternalTrigger.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/InternalTrigger.cpp b/src/engine/InternalTrigger.cpp
index 9ff74b40..623b0bc2 100644
--- a/src/engine/InternalTrigger.cpp
+++ b/src/engine/InternalTrigger.cpp
@@ -74,7 +74,9 @@ TriggerNode::process(ProcessContext& context)
uint8_t* buf = NULL;
EventBuffer* const midi_in = (EventBuffer*)_midi_in_port->buffer(0);
- assert(midi_in->this_nframes() == context.nframes());
+ //assert(midi_in->this_nframes() == context.nframes());
+
+ midi_in->rewind();
while (midi_in->get_event(&frames, &subframes, &type, &size, &buf)) {
const FrameTime time = context.start() + (FrameTime)frames;