From: Debian Multimedia Maintainers Date: Sat, 30 Nov 2019 15:26:20 +0000 (+0000) Subject: debian_vst X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f536cba5904760d32fd6066b8d9f8ff69f4551b2;p=juce.git debian_vst Gbp-Pq: Name debian_vst.patch --- 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 3ede36fa..ec07fcd0 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -101,8 +101,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" } using namespace juce; @@ -124,7 +123,6 @@ using namespace juce; #pragma pack (push, 8) #endif -#define JUCE_VSTINTERFACE_H_INCLUDED 1 #include "../utility/juce_IncludeModuleHeaders.h" #include "../utility/juce_FakeMouseMoveGenerator.h" diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index 35293b8b..672b2c99 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -49,7 +49,6 @@ #endif #define VST_FORCE_DEPRECATED 0 -#define JUCE_VSTINTERFACE_H_INCLUDED 1 namespace Vst2 { @@ -58,8 +57,7 @@ namespace Vst2 // 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 +#include "../../juce_audio_processors/format_types/juce_VSTInterface.h" } #include "juce_VSTCommon.h" @@ -81,6 +79,9 @@ namespace Vst2 #include "juce_VSTMidiEventList.h" +#define resvd2 hostSpace2 +#define nanoSeconds systemTimeNanoseconds + #if JUCE_MINGW #ifndef WM_APPCOMMAND #define WM_APPCOMMAND 0x0319