OpenShot Audio Library | OpenShotAudio  0.6.0
juce_audio_basics.cpp
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  The code included in this file is provided under the terms of the ISC license
11  http://www.isc.org/downloads/software-support-policy/isc-license. Permission
12  To use, copy, modify, and/or distribute this software for any purpose with or
13  without fee is hereby granted provided that the above copyright notice and
14  this permission notice appear in all copies.
15 
16  JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
17  EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
18  DISCLAIMED.
19 
20  ==============================================================================
21 */
22 
23 #ifdef JUCE_AUDIO_BASICS_H_INCLUDED
24  /* When you add this cpp file to your project, you mustn't include it in a file where you've
25  already included any other headers - just put it inside a file on its own, possibly with your config
26  flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
27  header files that the compiler may be using.
28  */
29  #error "Incorrect use of JUCE cpp file"
30 #endif
31 
32 #include "juce_audio_basics.h"
33 
34 #if JUCE_MINGW && ! defined (alloca)
35  #define alloca __builtin_alloca
36 #endif
37 
38 #if JUCE_USE_SSE_INTRINSICS
39  #include <emmintrin.h>
40 #endif
41 
42 #if JUCE_MAC || JUCE_IOS
43  #ifndef JUCE_USE_VDSP_FRAMEWORK
44  #define JUCE_USE_VDSP_FRAMEWORK 1
45  #endif
46 
47  #if JUCE_USE_VDSP_FRAMEWORK
48  #include <Accelerate/Accelerate.h>
49  #endif
50 
51  #include "native/juce_AudioWorkgroup_mac.h"
52 
53 #elif JUCE_USE_VDSP_FRAMEWORK
54  #undef JUCE_USE_VDSP_FRAMEWORK
55 #endif
56 
57 #if JUCE_USE_ARM_NEON
58  #include <arm_neon.h>
59 #endif
60 
61 #include "buffers/juce_AudioDataConverters.cpp"
62 #include "buffers/juce_FloatVectorOperations.cpp"
63 #include "buffers/juce_AudioChannelSet.cpp"
64 #include "buffers/juce_AudioProcessLoadMeasurer.cpp"
65 #include "utilities/juce_IIRFilter.cpp"
66 #include "utilities/juce_LagrangeInterpolator.cpp"
67 #include "utilities/juce_WindowedSincInterpolator.cpp"
68 #include "utilities/juce_Interpolators.cpp"
69 #include "utilities/juce_SmoothedValue.cpp"
70 #include "midi/juce_MidiBuffer.cpp"
71 #include "midi/juce_MidiFile.cpp"
72 #include "midi/juce_MidiKeyboardState.cpp"
73 #include "midi/juce_MidiMessage.cpp"
74 #include "midi/juce_MidiMessageSequence.cpp"
75 #include "midi/juce_MidiRPN.cpp"
76 #include "mpe/juce_MPEValue.cpp"
77 #include "mpe/juce_MPENote.cpp"
78 #include "mpe/juce_MPEZoneLayout.cpp"
79 #include "mpe/juce_MPEInstrument.cpp"
80 #include "mpe/juce_MPEMessages.cpp"
81 #include "mpe/juce_MPESynthesiserBase.cpp"
82 #include "mpe/juce_MPESynthesiserVoice.cpp"
83 #include "mpe/juce_MPESynthesiser.cpp"
84 #include "mpe/juce_MPEUtils.cpp"
85 #include "sources/juce_BufferingAudioSource.cpp"
86 #include "sources/juce_ChannelRemappingAudioSource.cpp"
87 #include "sources/juce_IIRFilterAudioSource.cpp"
88 #include "sources/juce_MemoryAudioSource.cpp"
89 #include "sources/juce_MixerAudioSource.cpp"
90 #include "sources/juce_ResamplingAudioSource.cpp"
91 #include "sources/juce_ReverbAudioSource.cpp"
92 #include "sources/juce_ToneGeneratorAudioSource.cpp"
93 #include "sources/juce_PositionableAudioSource.cpp"
94 #include "synthesisers/juce_Synthesiser.cpp"
95 #include "audio_play_head/juce_AudioPlayHead.cpp"
96 #include "midi/juce_MidiDataConcatenator.h"
97 #include "midi/ump/juce_UMP.h"
98 #include "midi/ump/juce_UMPUtils.cpp"
99 #include "midi/ump/juce_UMPView.cpp"
100 #include "midi/ump/juce_UMPSysEx7.cpp"
101 #include "midi/ump/juce_UMPMidi1ToMidi2DefaultTranslator.cpp"
102 #include "midi/ump/juce_UMPIterator.cpp"
103 #include "utilities/juce_AudioWorkgroup.cpp"
104 
105 #if JUCE_UNIT_TESTS
106  #include "utilities/juce_ADSR_test.cpp"
107  #include "midi/ump/juce_UMP_test.cpp"
108 #endif