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

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2013 - Raw Material Software 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. #ifndef __JUCE_AUDIO_FORMATS_JUCEHEADER__
  18. #define __JUCE_AUDIO_FORMATS_JUCEHEADER__
  19. #include "../juce_audio_basics/juce_audio_basics.h"
  20. //=============================================================================
  21. /** Config: JUCE_USE_FLAC
  22. Enables the FLAC audio codec classes (available on all platforms).
  23. If your app doesn't need to read FLAC files, you might want to disable this to
  24. reduce the size of your codebase and build time.
  25. */
  26. #ifndef JUCE_USE_FLAC
  27. #define JUCE_USE_FLAC 1
  28. #endif
  29. /** Config: JUCE_USE_OGGVORBIS
  30. Enables the Ogg-Vorbis audio codec classes (available on all platforms).
  31. If your app doesn't need to read Ogg-Vorbis files, you might want to disable this to
  32. reduce the size of your codebase and build time.
  33. */
  34. #ifndef JUCE_USE_OGGVORBIS
  35. #define JUCE_USE_OGGVORBIS 1
  36. #endif
  37. /** Config: JUCE_USE_MP3AUDIOFORMAT
  38. Enables the software-based MP3AudioFormat class.
  39. IMPORTANT DISCLAIMER: By choosing to enable the JUCE_USE_MP3AUDIOFORMAT flag and to compile
  40. this MP3 code into your software, you do so AT YOUR OWN RISK! By doing so, you are agreeing
  41. that Raw Material Software is in no way responsible for any patent, copyright, or other
  42. legal issues that you may suffer as a result.
  43. The code in juce_MP3AudioFormat.cpp is NOT guaranteed to be free from infringements of 3rd-party
  44. intellectual property. If you wish to use it, please seek your own independent advice about the
  45. legality of doing so. If you are not willing to accept full responsibility for the consequences
  46. of using this code, then do not enable this setting.
  47. */
  48. #ifndef JUCE_USE_MP3AUDIOFORMAT
  49. #define JUCE_USE_MP3AUDIOFORMAT 0
  50. #endif
  51. /** Config: JUCE_USE_LAME_AUDIO_FORMAT
  52. Enables the LameEncoderAudioFormat class.
  53. */
  54. #ifndef JUCE_USE_LAME_AUDIO_FORMAT
  55. #define JUCE_USE_LAME_AUDIO_FORMAT 0
  56. #endif
  57. /** Config: JUCE_USE_WINDOWS_MEDIA_FORMAT
  58. Enables the Windows Media SDK codecs.
  59. */
  60. #ifndef JUCE_USE_WINDOWS_MEDIA_FORMAT
  61. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 1
  62. #endif
  63. #if ! JUCE_MSVC
  64. #undef JUCE_USE_WINDOWS_MEDIA_FORMAT
  65. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
  66. #endif
  67. //=============================================================================
  68. namespace juce
  69. {
  70. // START_AUTOINCLUDE format, codecs, sampler
  71. #ifndef __JUCE_AUDIOFORMAT_JUCEHEADER__
  72. #include "format/juce_AudioFormat.h"
  73. #endif
  74. #ifndef __JUCE_AUDIOFORMATMANAGER_JUCEHEADER__
  75. #include "format/juce_AudioFormatManager.h"
  76. #endif
  77. #ifndef __JUCE_AUDIOFORMATREADER_JUCEHEADER__
  78. #include "format/juce_AudioFormatReader.h"
  79. #endif
  80. #ifndef __JUCE_AUDIOFORMATREADERSOURCE_JUCEHEADER__
  81. #include "format/juce_AudioFormatReaderSource.h"
  82. #endif
  83. #ifndef __JUCE_AUDIOFORMATWRITER_JUCEHEADER__
  84. #include "format/juce_AudioFormatWriter.h"
  85. #endif
  86. #ifndef __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__
  87. #include "format/juce_AudioSubsectionReader.h"
  88. #endif
  89. #ifndef __JUCE_BUFFERINGAUDIOFORMATREADER_JUCEHEADER__
  90. #include "format/juce_BufferingAudioFormatReader.h"
  91. #endif
  92. #ifndef __JUCE_MEMORYMAPPEDAUDIOFORMATREADER_JUCEHEADER__
  93. #include "format/juce_MemoryMappedAudioFormatReader.h"
  94. #endif
  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_QuickTimeAudioFormat.h"
  102. #include "codecs/juce_WavAudioFormat.h"
  103. #include "codecs/juce_WindowsMediaAudioFormat.h"
  104. #ifndef __JUCE_SAMPLER_JUCEHEADER__
  105. #include "sampler/juce_Sampler.h"
  106. #endif
  107. // END_AUTOINCLUDE
  108. }
  109. #endif // __JUCE_AUDIO_FORMATS_JUCEHEADER__