diff options
Diffstat (limited to 'src/engine/InternalController.cpp')
-rw-r--r-- | src/engine/InternalController.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/InternalController.cpp b/src/engine/InternalController.cpp index b8b75671..e2dede41 100644 --- a/src/engine/InternalController.cpp +++ b/src/engine/InternalController.cpp @@ -79,7 +79,9 @@ ControllerNode::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)) { // FIXME: type |