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) 2022 - Raw Material Software Limited
  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 7 End-User License
  8. Agreement and JUCE Privacy Policy.
  9. End User License Agreement: www.juce.com/juce-7-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. /*******************************************************************************
  19. The block below describes the properties of this module, and is read by
  20. the Projucer to automatically generate project code that uses it.
  21. For details about the syntax and how to create or use a module, see the
  22. JUCE Module Format.md file.
  23. BEGIN_JUCE_MODULE_DECLARATION
  24. ID: juce_audio_formats
  25. vendor: juce
  26. version: 7.0.9
  27. name: JUCE audio file format codecs
  28. description: Classes for reading and writing various audio file formats.
  29. website: http://www.juce.com/juce
  30. license: GPL/Commercial
  31. minimumCppStandard: 17
  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 Raw Material Software Limited is in no way responsible for any patent, copyright, or other
  62. legal issues 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_WINDOWS || JUCE_MINGW
  84. #undef JUCE_USE_WINDOWS_MEDIA_FORMAT
  85. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
  86. #endif
  87. //==============================================================================
  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_WavAudioFormat.h"
  103. #include "codecs/juce_WindowsMediaAudioFormat.h"
  104. #include "sampler/juce_Sampler.h"
  105. #if JucePlugin_Enable_ARA
  106. #include <juce_audio_processors/juce_audio_processors.h>
  107. #include "format/juce_ARAAudioReaders.h"
  108. #endif