From 1aef8e002db91656d1d76c8cf7dc123afdf2fa0b Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 20 Apr 2015 11:24:12 +0200 Subject: [PATCH] Fix carla-plugin-lv2 not receiving time information --- source/plugin/carla-lv2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/plugin/carla-lv2.cpp b/source/plugin/carla-lv2.cpp index e335735d0..f74d5b5b8 100644 --- a/source/plugin/carla-lv2.cpp +++ b/source/plugin/carla-lv2.cpp @@ -287,13 +287,13 @@ public: if (event == nullptr) continue; - if (event->body.size > 4) - continue; - if (event->time.frames >= frames) - break; if (event->body.type == fURIs.midiEvent) { + if (event->body.size > 4) + continue; + if (event->time.frames >= frames) + continue; if (fMidiEventCount >= kMaxMidiEvents*2) continue;