2 ==============================================================================
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
7 JUCE is an open source library subject to commercial or open-source
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
23 ==============================================================================
26 #ifdef JUCE_AUDIO_FORMATS_H_INCLUDED
27 /* When you add this cpp file to your project, you mustn't include it in a file where you've
28 already included any other headers - just put it inside a file on its own, possibly with your config
29 flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
30 header files that the compiler may be using.
32 #error "Incorrect use of JUCE cpp file"
35 #define JUCE_CORE_INCLUDE_COM_SMART_PTR 1
36 #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
37 #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
39 #include "juce_audio_formats.h"
41 //==============================================================================
43 #include <AudioToolbox/AudioToolbox.h>
46 #import <AudioToolbox/AudioToolbox.h>
47 #import <AVFoundation/AVFoundation.h>
49 //==============================================================================
50 #elif JUCE_WINDOWS && JUCE_USE_WINDOWS_MEDIA_FORMAT
54 //==============================================================================
55 #include "format/juce_AudioFormat.cpp"
56 #include "format/juce_AudioFormatManager.cpp"
57 #include "format/juce_AudioFormatReader.cpp"
58 #include "format/juce_AudioFormatReaderSource.cpp"
59 #include "format/juce_AudioFormatWriter.cpp"
60 #include "format/juce_AudioSubsectionReader.cpp"
61 #include "format/juce_BufferingAudioFormatReader.cpp"
62 #include "sampler/juce_Sampler.cpp"
63 #include "codecs/juce_AiffAudioFormat.cpp"
64 #include "codecs/juce_CoreAudioFormat.cpp"
65 #include "codecs/juce_FlacAudioFormat.cpp"
66 #include "codecs/juce_MP3AudioFormat.cpp"
67 #include "codecs/juce_OggVorbisAudioFormat.cpp"
68 #include "codecs/juce_WavAudioFormat.cpp"
69 #include "codecs/juce_LAMEEncoderAudioFormat.cpp"
71 #if JucePlugin_Enable_ARA
72 #include "juce_audio_processors/utilities/ARA/juce_ARADocumentControllerCommon.cpp"
73 #include "format/juce_ARAAudioReaders.cpp"
76 #if JUCE_WINDOWS && JUCE_USE_WINDOWS_MEDIA_FORMAT
77 #include "codecs/juce_WindowsMediaAudioFormat.cpp"