diff --git a/source/modules/distrho/src/DistrhoPluginLV2.cpp b/source/modules/distrho/src/DistrhoPluginLV2.cpp index 907d882f3..606c65a64 100644 --- a/source/modules/distrho/src/DistrhoPluginLV2.cpp +++ b/source/modules/distrho/src/DistrhoPluginLV2.cpp @@ -309,7 +309,7 @@ public: fURIDs.timeFrame, &frame, fURIDs.timeSpeed, &speed, fURIDs.timeTicksPerBeat, &ticksPerBeat, - nullptr); + 0); // need to handle this first as other values depend on it if (ticksPerBeat != nullptr) diff --git a/source/plugin/carla-lv2.cpp b/source/plugin/carla-lv2.cpp index 7a244bc00..a893a4774 100644 --- a/source/plugin/carla-lv2.cpp +++ b/source/plugin/carla-lv2.cpp @@ -315,7 +315,7 @@ public: fURIs.timeFrame, &frame, fURIs.timeSpeed, &speed, fURIs.timeTicksPerBeat, &ticksPerBeat, - nullptr); + 0); // need to handle this first as other values depend on it if (ticksPerBeat != nullptr)