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.

130 lines
4.7KB

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