The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

62 lines
1.8KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 7 technical preview.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For the technical preview this file cannot be licensed commercially.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. #include <juce_core/system/juce_TargetPlatform.h>
  14. #include "../utility/juce_CheckSettingMacros.h"
  15. #if JucePlugin_Enable_ARA
  16. #include "../utility/juce_IncludeSystemHeaders.h"
  17. #include "../utility/juce_IncludeModuleHeaders.h"
  18. JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wunused-parameter", "-Wgnu-zero-variadic-macro-arguments", "-Wmissing-prototypes")
  19. JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4100)
  20. #include <ARA_Library/PlugIn/ARAPlug.cpp>
  21. #include <ARA_Library/Dispatch/ARAPlugInDispatch.cpp>
  22. #include <ARA_Library/Utilities/ARAPitchInterpretation.cpp>
  23. JUCE_END_IGNORE_WARNINGS_MSVC
  24. JUCE_END_IGNORE_WARNINGS_GCC_LIKE
  25. namespace juce
  26. {
  27. #if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS) || JUCE_LOG_ASSERTIONS
  28. JUCE_API void JUCE_CALLTYPE handleARAAssertion (const char* file, const int line, const char* diagnosis) noexcept
  29. {
  30. #if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS)
  31. DBG (diagnosis);
  32. #endif
  33. logAssertion (file, line);
  34. #if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS)
  35. if (juce_isRunningUnderDebugger())
  36. JUCE_BREAK_IN_DEBUGGER;
  37. JUCE_ANALYZER_NORETURN
  38. #endif
  39. }
  40. #endif
  41. ARA_SETUP_DEBUG_MESSAGE_PREFIX(JucePlugin_Name);
  42. } // namespace juce
  43. #endif