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_audio_processors
utilities
ARA
juce_ARADebug.h
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
#pragma once
27
28
#include <
juce_core/system/juce_PlatformDefs.h
>
29
30
#ifndef JUCE_API
31
#define JUCE_API
32
#endif
33
34
#if (JucePlugin_Enable_ARA || (JUCE_PLUGINHOST_ARA && (JUCE_PLUGINHOST_VST3 || JUCE_PLUGINHOST_AU))) && (JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX)
35
36
namespace
juce
37
{
38
39
//==============================================================================
40
#if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS) || JUCE_LOG_ASSERTIONS
41
#define ARA_ENABLE_INTERNAL_ASSERTS 1
42
#else
43
#define ARA_ENABLE_INTERNAL_ASSERTS 0
44
#endif
// (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS) || JUCE_LOG_ASSERTIONS
45
46
//==============================================================================
47
#if ARA_ENABLE_INTERNAL_ASSERTS
48
49
JUCE_API
void
JUCE_CALLTYPE
handleARAAssertion (
const
char
* file,
const
int
line,
const
char
* diagnosis)
noexcept
;
50
51
#if !defined(ARA_HANDLE_ASSERT)
52
#define ARA_HANDLE_ASSERT(file, line, diagnosis) juce::handleARAAssertion (file, line, diagnosis)
53
#endif
54
55
#if JUCE_LOG_ASSERTIONS
56
#define ARA_ENABLE_DEBUG_OUTPUT 1
57
#endif
58
59
#endif
60
61
}
// namespace juce
62
63
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE (
"-Wgnu-zero-variadic-macro-arguments"
,
"-Wmissing-prototypes"
)
64
#include <ARA_Library/Debug/ARADebug.h>
65
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
66
67
#endif
juce_PlatformDefs.h
JUCE_CALLTYPE
#define JUCE_CALLTYPE
This macro defines the C calling convention used as the standard for JUCE calls.
Definition
juce_PlatformDefs.h:46
juce
JUCE Namespace.
Definition
juce_AudioPlayHead.cpp:24
« « « Anklang Documentation