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.

47 lines
1.4KB

  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. namespace Vst2 {
  23. #include "modules/juce_audio_processors/format_types/juce_VSTInterface.h"
  24. }
  25. #include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h"
  26. #include "modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp"
  27. #elif JucePlugin_Build_VST3
  28. #include "modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp"
  29. #elif JucePlugin_Build_Standalone
  30. #include "juce_StandaloneFilterApplication.cpp"
  31. #else
  32. #error Invalid configuration
  33. #endif
  34. #if JUCE_AUDIOPROCESSOR_NO_GUI
  35. // commonly used classes in DSP code
  36. namespace juce {
  37. Colour::Colour(juce::uint32) noexcept {}
  38. }
  39. #endif