JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
juce_ARA_utils.cpp
Go to the documentation of this file.
1 /*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
12
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
15
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
18
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
22
23 ==============================================================================
24*/
25
26#if (JucePlugin_Enable_ARA || (JUCE_PLUGINHOST_ARA && (JUCE_PLUGINHOST_VST3 || JUCE_PLUGINHOST_AU))) && (JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX)
27namespace juce
28{
29 #if ARA_ENABLE_INTERNAL_ASSERTS
30JUCE_API void JUCE_CALLTYPE handleARAAssertion (const char* file, const int line, const char* diagnosis) noexcept
31{
32 #if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS)
33 DBG (diagnosis);
34 #endif
35
36 logAssertion (file, line);
37
38 #if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS)
40 JUCE_BREAK_IN_DEBUGGER;
41 JUCE_ANALYZER_NORETURN
42 #endif
43}
44 #endif
45}
46#endif
47
48#if JucePlugin_Enable_ARA
49#include "juce_ARADocumentControllerCommon.cpp"
50#include "juce_ARADocumentController.cpp"
51#include "juce_ARAModelObjects.cpp"
52#include "juce_ARAPlugInInstanceRoles.cpp"
53#include "juce_AudioProcessor_ARAExtensions.cpp"
54
55ARA_SETUP_DEBUG_MESSAGE_PREFIX (JucePlugin_Name);
56#endif
#define DBG(textToWrite)
Writes a string to the standard error stream.
#define JUCE_CALLTYPE
This macro defines the C calling convention used as the standard for JUCE calls.
JUCE Namespace.
bool juce_isRunningUnderDebugger() noexcept
< This macro is added to all JUCE public class declarations.
void logAssertion(const char *file, int line) noexcept
< This macro is added to all JUCE public class declarations.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
Definition juce_Memory.h:88