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.8KB

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