From 367748ed6ad2df23ff6a95b2819a183ca4119a79 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 25 Nov 2014 16:45:38 +0000 Subject: [PATCH] Made the VST hosting classes set the kVstTransportCycleActive flag. --- .../format_types/juce_VSTPluginFormat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index 5509e2c384..bbe270e35f 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -1013,12 +1013,12 @@ public: if (position.isLooping) { vstHostTime.cycleStartPos = position.ppqLoopStart; - vstHostTime.cycleEndPos = position.ppqLoopEnd; - vstHostTime.flags |= kVstCyclePosValid; + vstHostTime.cycleEndPos = position.ppqLoopEnd; + vstHostTime.flags |= (kVstCyclePosValid | kVstTransportCycleActive); } else { - vstHostTime.flags &= ~kVstCyclePosValid; + vstHostTime.flags &= ~(kVstCyclePosValid | kVstTransportCycleActive); } }