OpenShot Library | OpenShotAudio  0.2.1
juce_audio_formats.cpp
1 /*
2  ==============================================================================
3 
4  This file is part of the JUCE library.
5  Copyright (c) 2017 - ROLI Ltd.
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 5 End-User License
11  Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
12  27th April 2017).
13 
14  End User License Agreement: www.juce.com/juce-5-licence
15  Privacy Policy: www.juce.com/juce-5-privacy-policy
16 
17  Or: You may also use this code under the terms of the GPL v3 (see
18  www.gnu.org/licenses).
19 
20  JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
21  EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
22  DISCLAIMED.
23 
24  ==============================================================================
25 */
26 
27 #ifdef JUCE_AUDIO_FORMATS_H_INCLUDED
28  /* When you add this cpp file to your project, you mustn't include it in a file where you've
29  already included any other headers - just put it inside a file on its own, possibly with your config
30  flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
31  header files that the compiler may be using.
32  */
33  #error "Incorrect use of JUCE cpp file"
34 #endif
35 
36 #define JUCE_CORE_INCLUDE_COM_SMART_PTR 1
37 #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
38 #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
39 
40 #include "juce_audio_formats.h"
41 
42 //==============================================================================
43 #if JUCE_MAC
44  #include <AudioToolbox/AudioToolbox.h>
45 
46 #elif JUCE_IOS
47  #import <AudioToolbox/AudioToolbox.h>
48  #import <AVFoundation/AVFoundation.h>
49 
50 //==============================================================================
51 #elif JUCE_WINDOWS && JUCE_USE_WINDOWS_MEDIA_FORMAT
52  #include <wmsdk.h>
53 #endif
54 
55 //==============================================================================
56 #include "format/juce_AudioFormat.cpp"
57 #include "format/juce_AudioFormatManager.cpp"
58 #include "format/juce_AudioFormatReader.cpp"
59 #include "format/juce_AudioFormatReaderSource.cpp"
60 #include "format/juce_AudioFormatWriter.cpp"
61 #include "format/juce_AudioSubsectionReader.cpp"
62 #include "format/juce_BufferingAudioFormatReader.cpp"
63 #include "sampler/juce_Sampler.cpp"
64 #include "codecs/juce_AiffAudioFormat.cpp"
65 #include "codecs/juce_CoreAudioFormat.cpp"
66 #include "codecs/juce_FlacAudioFormat.cpp"
67 #include "codecs/juce_MP3AudioFormat.cpp"
68 #include "codecs/juce_OggVorbisAudioFormat.cpp"
69 #include "codecs/juce_WavAudioFormat.cpp"
70 #include "codecs/juce_LAMEEncoderAudioFormat.cpp"
71 
72 #if JUCE_WINDOWS && JUCE_USE_WINDOWS_MEDIA_FORMAT
73  #include "codecs/juce_WindowsMediaAudioFormat.cpp"
74 #endif