Browse Source

Fix VST build

Signed-off-by: falkTX <falktx@falktx.com>
tags/2020-07-14
falkTX 3 years ago
parent
commit
1dd1200c5b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 6 additions and 7 deletions
  1. +3
    -7
      libs/juce-plugin/JucePluginMain.cpp
  2. +3
    -0
      libs/juce/source/modules/juce_audio_processors/format_types/juce_VSTInterface.h

+ 3
- 7
libs/juce-plugin/JucePluginMain.cpp View File

@@ -16,13 +16,9 @@
#include "modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp"
#elif JucePlugin_Build_VST
// we need to include 'juce_VSTMidiEventList' before 'juce_VST_Wrapper'
// #ifndef _MSC_VER
// #define __cdecl
// #endif
// #include "pluginterfaces/vst2.x/aeffectx.h"
// namespace juce {
// #include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h"
// }
#include "modules/juce_audio_plugin_client/utility/juce_IncludeSystemHeaders.h"
#include "modules/juce_audio_processors/format_types/juce_VSTInterface.h"
#include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h"
#ifdef JUCE_MAC
#include "modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.mm"
#else


+ 3
- 0
libs/juce/source/modules/juce_audio_processors/format_types/juce_VSTInterface.h View File

@@ -24,6 +24,7 @@
==============================================================================
*/
#ifndef JUCE_VSTINTERFACE_H_INCLUDED
#define JUCE_VSTINTERFACE_H_INCLUDED
using namespace juce;
@@ -483,3 +484,5 @@ struct vst2FxBank
#else
#pragma pack(pop)
#endif
#endif // JUCE_VSTINTERFACE_H_INCLUDED

Loading…
Cancel
Save