diff --git a/src/midi.cpp b/src/midi.cpp index 79c9cc0d..83cba6a2 100644 --- a/src/midi.cpp +++ b/src/midi.cpp @@ -339,12 +339,6 @@ bool InputQueue::tryPop(Message* messageOut, int64_t maxFrame) { return true; } - // If next MIDI message is too far in the future, clear the queue. - // This solves the issue of unconsumed messages getting stuck in the future when a DAW rewinds the engine frame. - int futureFrames = 2 * APP->engine->getBlockFrames(); - if (msg.getFrame() - maxFrame > futureFrames) { - internal->queue.clear(); - } return false; }