The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
4.9KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. /*******************************************************************************
  18. The block below describes the properties of this module, and is read by
  19. the Projucer to automatically generate project code that uses it.
  20. For details about the syntax and how to create or use a module, see the
  21. JUCE Module Format.txt file.
  22. BEGIN_JUCE_MODULE_DECLARATION
  23. ID: juce_audio_formats
  24. vendor: juce
  25. version: 4.2.4
  26. name: JUCE audio file format codecs
  27. description: Classes for reading and writing various audio file formats.
  28. website: http://www.juce.com/juce
  29. license: GPL/Commercial
  30. dependencies: juce_audio_basics
  31. OSXFrameworks: CoreAudio CoreMIDI QuartzCore AudioToolbox
  32. iOSFrameworks: AudioToolbox QuartzCore
  33. END_JUCE_MODULE_DECLARATION
  34. *******************************************************************************/
  35. #ifndef JUCE_AUDIO_FORMATS_H_INCLUDED
  36. #define JUCE_AUDIO_FORMATS_H_INCLUDED
  37. #include <juce_audio_basics/juce_audio_basics.h>
  38. //==============================================================================
  39. /** Config: JUCE_USE_FLAC
  40. Enables the FLAC audio codec classes (available on all platforms).
  41. If your app doesn't need to read FLAC files, you might want to disable this to
  42. reduce the size of your codebase and build time.
  43. */
  44. #ifndef JUCE_USE_FLAC
  45. #define JUCE_USE_FLAC 1
  46. #endif
  47. /** Config: JUCE_USE_OGGVORBIS
  48. Enables the Ogg-Vorbis audio codec classes (available on all platforms).
  49. If your app doesn't need to read Ogg-Vorbis files, you might want to disable this to
  50. reduce the size of your codebase and build time.
  51. */
  52. #ifndef JUCE_USE_OGGVORBIS
  53. #define JUCE_USE_OGGVORBIS 1
  54. #endif
  55. /** Config: JUCE_USE_MP3AUDIOFORMAT
  56. Enables the software-based MP3AudioFormat class.
  57. IMPORTANT DISCLAIMER: By choosing to enable the JUCE_USE_MP3AUDIOFORMAT flag and to compile
  58. this MP3 code into your software, you do so AT YOUR OWN RISK! By doing so, you are agreeing
  59. that ROLI Ltd. is in no way responsible for any patent, copyright, or other legal issues
  60. that you may suffer as a result.
  61. The code in juce_MP3AudioFormat.cpp is NOT guaranteed to be free from infringements of 3rd-party
  62. intellectual property. If you wish to use it, please seek your own independent advice about the
  63. legality of doing so. If you are not willing to accept full responsibility for the consequences
  64. of using this code, then do not enable this setting.
  65. */
  66. #ifndef JUCE_USE_MP3AUDIOFORMAT
  67. #define JUCE_USE_MP3AUDIOFORMAT 0
  68. #endif
  69. /** Config: JUCE_USE_LAME_AUDIO_FORMAT
  70. Enables the LameEncoderAudioFormat class.
  71. */
  72. #ifndef JUCE_USE_LAME_AUDIO_FORMAT
  73. #define JUCE_USE_LAME_AUDIO_FORMAT 0
  74. #endif
  75. /** Config: JUCE_USE_WINDOWS_MEDIA_FORMAT
  76. Enables the Windows Media SDK codecs.
  77. */
  78. #ifndef JUCE_USE_WINDOWS_MEDIA_FORMAT
  79. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 1
  80. #endif
  81. #if ! JUCE_MSVC
  82. #undef JUCE_USE_WINDOWS_MEDIA_FORMAT
  83. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
  84. #endif
  85. //==============================================================================
  86. namespace juce
  87. {
  88. class AudioFormat;
  89. #include "format/juce_AudioFormatReader.h"
  90. #include "format/juce_AudioFormatWriter.h"
  91. #include "format/juce_MemoryMappedAudioFormatReader.h"
  92. #include "format/juce_AudioFormat.h"
  93. #include "format/juce_AudioFormatManager.h"
  94. #include "format/juce_AudioFormatReaderSource.h"
  95. #include "format/juce_AudioSubsectionReader.h"
  96. #include "format/juce_BufferingAudioFormatReader.h"
  97. #include "codecs/juce_AiffAudioFormat.h"
  98. #include "codecs/juce_CoreAudioFormat.h"
  99. #include "codecs/juce_FlacAudioFormat.h"
  100. #include "codecs/juce_LAMEEncoderAudioFormat.h"
  101. #include "codecs/juce_MP3AudioFormat.h"
  102. #include "codecs/juce_OggVorbisAudioFormat.h"
  103. #include "codecs/juce_QuickTimeAudioFormat.h"
  104. #include "codecs/juce_WavAudioFormat.h"
  105. #include "codecs/juce_WindowsMediaAudioFormat.h"
  106. #include "sampler/juce_Sampler.h"
  107. }
  108. #endif // JUCE_AUDIO_FORMATS_H_INCLUDED