From be6fe2b403598f1820ee234490226af8d6ec1edb Mon Sep 17 00:00:00 2001 From: reuk Date: Sun, 10 Nov 2024 11:29:45 +0000 Subject: [PATCH] VST3 Host: Avoid calling addPoint on input parameter queue --- .../format_types/juce_VST3PluginFormat.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp index 84460aee19..7afd89b9e6 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp @@ -2423,10 +2423,7 @@ public: Steinberg::int32 indexOut = notInVector; if (auto* queue = addParameterData (id, indexOut)) - { - Steinberg::int32 index{}; - queue->addPoint (offset, value, index); - } + queue->append ({ offset, value }); } void clear()