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>
Wed, 11 Dec 2019 14:12:06 +0000 (15:12 +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 9b9a7f9f38ea4bb4643d5c49ccebe1d6412d582c..632677df96b8fbfc044597f1e72e6e6e6e70e3ce 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 85dfb785cc0a76ea51c71a811310d90aefa507f7..ad0a8e5e70133cee3ced6b5bdc99122c597c4121 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