From f9106edbd05995cdb23d02c0f3f5a6c3d932dcb1 Mon Sep 17 00:00:00 2001 From: Debian Multimedia Maintainers Date: Wed, 23 Oct 2019 09:44:36 +0200 Subject: [PATCH] provide missing VST2 replacement header Last-Update: 2019-01-12 backprted from the original JUCE-5.3.1 header Last-Update: 2019-01-12 Gbp-Pq: Name debian_vst.patch --- modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 3 +-- .../format_types/juce_VSTPluginFormat.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index 24fc168a..d978dfd8 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -84,8 +84,7 @@ namespace Vst2 // field in the Projucer. The VST2 SDK can be obtained from the // vstsdk3610_11_06_2018_build_37 (or older) VST3 SDK or JUCE version 5.3.2. You // also need a VST2 license from Steinberg to distribute VST2 plug-ins. -#include "pluginterfaces/vst2.x/aeffect.h" -#include "pluginterfaces/vst2.x/aeffectx.h" +#include "../../juce_audio_processors/format_types/juce_VSTInterface.h" } JUCE_END_IGNORE_WARNINGS_MSVC diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index f9ac8a16..8e56fc26 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -48,8 +48,8 @@ struct AEffect; // paths or use the "VST (Legacy) SDK Folder" field in the Projucer. The VST2 // SDK can be obtained from the vstsdk3610_11_06_2018_build_37 (or older) VST3 // SDK or JUCE version 5.3.2. -#include -#include +#define FST2VST 1 +#include } #include "juce_VSTCommon.h" -- 2.30.2