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.

134 lines
4.8KB

  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.3.1
  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. #pragma once
  36. #include <juce_audio_basics/juce_audio_basics.h>
  37. //==============================================================================
  38. /** Config: JUCE_USE_FLAC
  39. Enables the FLAC audio codec classes (available on all platforms).
  40. If your app doesn't need to read FLAC files, you might want to disable this to
  41. reduce the size of your codebase and build time.
  42. */
  43. #ifndef JUCE_USE_FLAC
  44. #define JUCE_USE_FLAC 1
  45. #endif
  46. /** Config: JUCE_USE_OGGVORBIS
  47. Enables the Ogg-Vorbis audio codec classes (available on all platforms).
  48. If your app doesn't need to read Ogg-Vorbis files, you might want to disable this to
  49. reduce the size of your codebase and build time.
  50. */
  51. #ifndef JUCE_USE_OGGVORBIS
  52. #define JUCE_USE_OGGVORBIS 1
  53. #endif
  54. /** Config: JUCE_USE_MP3AUDIOFORMAT
  55. Enables the software-based MP3AudioFormat class.
  56. IMPORTANT DISCLAIMER: By choosing to enable the JUCE_USE_MP3AUDIOFORMAT flag and to compile
  57. this MP3 code into your software, you do so AT YOUR OWN RISK! By doing so, you are agreeing
  58. that ROLI Ltd. is in no way responsible for any patent, copyright, or other legal issues
  59. that you may suffer as a result.
  60. The code in juce_MP3AudioFormat.cpp is NOT guaranteed to be free from infringements of 3rd-party
  61. intellectual property. If you wish to use it, please seek your own independent advice about the
  62. legality of doing so. If you are not willing to accept full responsibility for the consequences
  63. of using this code, then do not enable this setting.
  64. */
  65. #ifndef JUCE_USE_MP3AUDIOFORMAT
  66. #define JUCE_USE_MP3AUDIOFORMAT 0
  67. #endif
  68. /** Config: JUCE_USE_LAME_AUDIO_FORMAT
  69. Enables the LameEncoderAudioFormat class.
  70. */
  71. #ifndef JUCE_USE_LAME_AUDIO_FORMAT
  72. #define JUCE_USE_LAME_AUDIO_FORMAT 0
  73. #endif
  74. /** Config: JUCE_USE_WINDOWS_MEDIA_FORMAT
  75. Enables the Windows Media SDK codecs.
  76. */
  77. #ifndef JUCE_USE_WINDOWS_MEDIA_FORMAT
  78. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 1
  79. #endif
  80. #if ! JUCE_MSVC
  81. #undef JUCE_USE_WINDOWS_MEDIA_FORMAT
  82. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
  83. #endif
  84. //==============================================================================
  85. namespace juce
  86. {
  87. class AudioFormat;
  88. #include "format/juce_AudioFormatReader.h"
  89. #include "format/juce_AudioFormatWriter.h"
  90. #include "format/juce_MemoryMappedAudioFormatReader.h"
  91. #include "format/juce_AudioFormat.h"
  92. #include "format/juce_AudioFormatManager.h"
  93. #include "format/juce_AudioFormatReaderSource.h"
  94. #include "format/juce_AudioSubsectionReader.h"
  95. #include "format/juce_BufferingAudioFormatReader.h"
  96. #include "codecs/juce_AiffAudioFormat.h"
  97. #include "codecs/juce_CoreAudioFormat.h"
  98. #include "codecs/juce_FlacAudioFormat.h"
  99. #include "codecs/juce_LAMEEncoderAudioFormat.h"
  100. #include "codecs/juce_MP3AudioFormat.h"
  101. #include "codecs/juce_OggVorbisAudioFormat.h"
  102. #include "codecs/juce_QuickTimeAudioFormat.h"
  103. #include "codecs/juce_WavAudioFormat.h"
  104. #include "codecs/juce_WindowsMediaAudioFormat.h"
  105. #include "sampler/juce_Sampler.h"
  106. }