provide missing VST2 replacement header
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Wed, 23 Oct 2019 07:44:36 +0000 (09:44 +0200)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 6 Feb 2020 09:34:24 +0000 (10:34 +0100)
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
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

index 879c9066b47fe2f6b0c22e3774abcce94566a1f6..6b4e5f0cffb8fa32450263db8ab4c4cd487dfe76 100644 (file)
@@ -101,8 +101,7 @@ namespace Vst2
 // field in the Projucer. The VST2 SDK can be obtained from the\r
 // vstsdk3610_11_06_2018_build_37 (or older) VST3 SDK or JUCE version 5.3.2. You\r
 // also need a VST2 license from Steinberg to distribute VST2 plug-ins.\r
-#include "pluginterfaces/vst2.x/aeffect.h"\r
-#include "pluginterfaces/vst2.x/aeffectx.h"\r
+#include "../../juce_audio_processors/format_types/juce_VSTInterface.h"\r
 }\r
 \r
 using namespace juce;\r
@@ -124,7 +123,6 @@ using namespace juce;
  #pragma pack (push, 8)\r
 #endif\r
 \r
-#define JUCE_VSTINTERFACE_H_INCLUDED 1\r
 \r
 #include "../utility/juce_IncludeModuleHeaders.h"\r
 #include "../utility/juce_FakeMouseMoveGenerator.h"\r
index bdc935fc390241665df692e0c666482962000cea..8ddc9f23acbde8cce028a70b2f7e888f74441afa 100644 (file)
@@ -49,7 +49,6 @@
 #endif\r
 \r
 #define VST_FORCE_DEPRECATED 0\r
-#define JUCE_VSTINTERFACE_H_INCLUDED 1\r
 \r
 namespace Vst2\r
 {\r
@@ -58,8 +57,7 @@ namespace Vst2
 // paths or use the "VST (Legacy) SDK Folder" field in the Projucer. The VST2\r
 // SDK can be obtained from the vstsdk3610_11_06_2018_build_37 (or older) VST3\r
 // SDK or JUCE version 5.3.2.\r
-#include <pluginterfaces/vst2.x/aeffect.h>\r
-#include <pluginterfaces/vst2.x/aeffectx.h>\r
+#include "../../juce_audio_processors/format_types/juce_VSTInterface.h"\r
 }\r
 \r
 #include "juce_VSTCommon.h"\r
@@ -81,6 +79,9 @@ namespace Vst2
 \r
 #include "juce_VSTMidiEventList.h"\r
 \r
+#define resvd2 hostSpace2\r
+#define nanoSeconds systemTimeNanoseconds\r
+\r
 #if JUCE_MINGW\r
  #ifndef WM_APPCOMMAND\r
   #define WM_APPCOMMAND 0x0319\r