OpenShot Audio Library | OpenShotAudio: juce_audio_formats.cpp Source File

OpenShot Audio Library | OpenShotAudio 0.4.0

Loading...
Searching...
No Matches
juce_audio_formats.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 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#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.
31 */
32 #error "Incorrect use of JUCE cpp file"
33#endif
34
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
38
39#include "juce_audio_formats.h"
40
41//==============================================================================
42#if JUCE_MAC
43 #include <AudioToolbox/AudioToolbox.h>
44
45#elif JUCE_IOS
46 #import <AudioToolbox/AudioToolbox.h>
47 #import <AVFoundation/AVFoundation.h>
48
49//==============================================================================
50#elif JUCE_WINDOWS && JUCE_USE_WINDOWS_MEDIA_FORMAT
51 #include <wmsdk.h>
52#endif
53
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"
70
71#if JucePlugin_Enable_ARA
72 #include "juce_audio_processors/utilities/ARA/juce_ARADocumentControllerCommon.cpp"
73 #include "format/juce_ARAAudioReaders.cpp"
74#endif
75
76#if JUCE_WINDOWS && JUCE_USE_WINDOWS_MEDIA_FORMAT
77 #include "codecs/juce_WindowsMediaAudioFormat.cpp"
78#endif