You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.6KB

  1. /*
  2. ==============================================================================
  3. Main symbol/entry for juce plugins
  4. ==============================================================================
  5. */
  6. #include "AppConfig.h"
  7. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  8. #if ! JUCE_AUDIOPROCESSOR_NO_GUI
  9. #define JUCE_GUI_BASICS_INCLUDE_XHEADERS 1
  10. #endif
  11. #include "modules/juce_gui_basics/juce_gui_basics.h"
  12. #undef None
  13. #include "JucePluginMain.h"
  14. #if JucePlugin_Build_AU
  15. #include "modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm"
  16. #elif JucePlugin_Build_LV2
  17. #include "modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp"
  18. #elif JucePlugin_Build_RTAS
  19. #include "modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp"
  20. #elif JucePlugin_Build_VST
  21. // we need to include 'juce_VSTMidiEventList' before 'juce_VST_Wrapper'
  22. #include "modules/juce_audio_plugin_client/utility/juce_IncludeSystemHeaders.h"
  23. #if JUCE_MAJOR_VERSION >= 6
  24. namespace Vst2 {
  25. #endif
  26. #include "modules/juce_audio_processors/format_types/juce_VSTInterface.h"
  27. #if JUCE_MAJOR_VERSION >= 6
  28. }
  29. #endif
  30. #include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h"
  31. #include "modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp"
  32. #elif JucePlugin_Build_VST3
  33. #include "modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp"
  34. #elif JucePlugin_Build_Standalone
  35. #include "juce_StandaloneFilterApplication.cpp"
  36. #else
  37. #error Invalid configuration
  38. #endif
  39. #if JUCE_AUDIOPROCESSOR_NO_GUI
  40. // commonly used classes in DSP code
  41. namespace juce {
  42. Colour::Colour(juce::uint32) noexcept {}
  43. }
  44. #endif