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

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