OpenShot Audio Library | OpenShotAudio  0.3.0
juce_audio_formats.h
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 
28 /*******************************************************************************
29  The block below describes the properties of this module, and is read by
30  the Projucer to automatically generate project code that uses it.
31  For details about the syntax and how to create or use a module, see the
32  JUCE Module Format.txt file.
33 
34 
35  BEGIN_JUCE_MODULE_DECLARATION
36 
37  ID: juce_audio_formats
38  vendor: juce
39  version: 5.4.7
40  name: JUCE audio file format codecs
41  description: Classes for reading and writing various audio file formats.
42  website: http://www.juce.com/juce
43  license: GPL/Commercial
44 
45  dependencies: juce_audio_basics
46  OSXFrameworks: CoreAudio CoreMIDI QuartzCore AudioToolbox
47  iOSFrameworks: AudioToolbox QuartzCore
48 
49  END_JUCE_MODULE_DECLARATION
50 
51 *******************************************************************************/
52 
53 
54 #pragma once
55 #define JUCE_AUDIO_FORMATS_H_INCLUDED
56 
57 #include <juce_audio_basics/juce_audio_basics.h>
58 
59 //==============================================================================
65 #ifndef JUCE_USE_FLAC
66  #define JUCE_USE_FLAC 1
67 #endif
68 
74 #ifndef JUCE_USE_OGGVORBIS
75  #define JUCE_USE_OGGVORBIS 1
76 #endif
77 
90 #ifndef JUCE_USE_MP3AUDIOFORMAT
91  #define JUCE_USE_MP3AUDIOFORMAT 0
92 #endif
93 
97 #ifndef JUCE_USE_LAME_AUDIO_FORMAT
98  #define JUCE_USE_LAME_AUDIO_FORMAT 0
99 #endif
100 
104 #ifndef JUCE_USE_WINDOWS_MEDIA_FORMAT
105  #define JUCE_USE_WINDOWS_MEDIA_FORMAT 1
106 #endif
107 
108 #if ! JUCE_MSVC
109  #undef JUCE_USE_WINDOWS_MEDIA_FORMAT
110  #define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
111 #endif
112 
113 //==============================================================================
114 #include "format/juce_AudioFormatReader.h"
115 #include "format/juce_AudioFormatWriter.h"
116 #include "format/juce_MemoryMappedAudioFormatReader.h"
117 #include "format/juce_AudioFormat.h"
118 #include "format/juce_AudioFormatManager.h"
119 #include "format/juce_AudioFormatReaderSource.h"
120 #include "format/juce_AudioSubsectionReader.h"
121 #include "format/juce_BufferingAudioFormatReader.h"
122 #include "codecs/juce_AiffAudioFormat.h"
123 #include "codecs/juce_CoreAudioFormat.h"
124 #include "codecs/juce_FlacAudioFormat.h"
125 #include "codecs/juce_LAMEEncoderAudioFormat.h"
126 #include "codecs/juce_MP3AudioFormat.h"
127 #include "codecs/juce_OggVorbisAudioFormat.h"
128 #include "codecs/juce_WavAudioFormat.h"
129 #include "codecs/juce_WindowsMediaAudioFormat.h"
130 #include "sampler/juce_Sampler.h"