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.

117 lines
4.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-11 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. #ifndef __JUCE_AUDIO_FORMATS_JUCEHEADER__
  19. #define __JUCE_AUDIO_FORMATS_JUCEHEADER__
  20. #include "../juce_audio_basics/juce_audio_basics.h"
  21. //=============================================================================
  22. /** Config: JUCE_USE_FLAC
  23. Enables the FLAC audio codec classes (available on all platforms).
  24. If your app doesn't need to read FLAC files, you might want to disable this to
  25. reduce the size of your codebase and build time.
  26. */
  27. #ifndef JUCE_USE_FLAC
  28. #define JUCE_USE_FLAC 1
  29. #endif
  30. /** Config: JUCE_USE_OGGVORBIS
  31. Enables the Ogg-Vorbis audio codec classes (available on all platforms).
  32. If your app doesn't need to read Ogg-Vorbis files, you might want to disable this to
  33. reduce the size of your codebase and build time.
  34. */
  35. #ifndef JUCE_USE_OGGVORBIS
  36. #define JUCE_USE_OGGVORBIS 1
  37. #endif
  38. /** Config: JUCE_USE_MP3AUDIOFORMAT
  39. Enables the software-based MP3AudioFormat class.
  40. IMPORTANT DISCLAIMER: By choosing to enable the JUCE_USE_MP3AUDIOFORMAT flag and to compile
  41. this MP3 code into your software, you do so AT YOUR OWN RISK! By doing so, you are agreeing
  42. that Raw Material Software is in no way responsible for any patent, copyright, or other
  43. legal issues that you may suffer as a result.
  44. The code in juce_MP3AudioFormat.cpp is NOT guaranteed to be free from infringements of 3rd-party
  45. intellectual property. If you wish to use it, please seek your own independent advice about the
  46. legality of doing so. If you are not willing to accept full responsibility for the consequences
  47. of using this code, then do not enable this setting.
  48. */
  49. #ifndef JUCE_USE_MP3AUDIOFORMAT
  50. #define JUCE_USE_MP3AUDIOFORMAT 0
  51. #endif
  52. /** Config: JUCE_USE_WINDOWS_MEDIA_FORMAT
  53. Enables the Windows Media SDK codecs.
  54. */
  55. #ifndef JUCE_USE_WINDOWS_MEDIA_FORMAT
  56. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 1
  57. #endif
  58. #if ! JUCE_MSVC
  59. #undef JUCE_USE_WINDOWS_MEDIA_FORMAT
  60. #define JUCE_USE_WINDOWS_MEDIA_FORMAT 0
  61. #endif
  62. //=============================================================================
  63. namespace juce
  64. {
  65. // START_AUTOINCLUDE format, codecs, sampler
  66. #ifndef __JUCE_AUDIOFORMAT_JUCEHEADER__
  67. #include "format/juce_AudioFormat.h"
  68. #endif
  69. #ifndef __JUCE_AUDIOFORMATMANAGER_JUCEHEADER__
  70. #include "format/juce_AudioFormatManager.h"
  71. #endif
  72. #ifndef __JUCE_AUDIOFORMATREADER_JUCEHEADER__
  73. #include "format/juce_AudioFormatReader.h"
  74. #endif
  75. #ifndef __JUCE_AUDIOFORMATREADERSOURCE_JUCEHEADER__
  76. #include "format/juce_AudioFormatReaderSource.h"
  77. #endif
  78. #ifndef __JUCE_AUDIOFORMATWRITER_JUCEHEADER__
  79. #include "format/juce_AudioFormatWriter.h"
  80. #endif
  81. #ifndef __JUCE_AUDIOSUBSECTIONREADER_JUCEHEADER__
  82. #include "format/juce_AudioSubsectionReader.h"
  83. #endif
  84. #include "codecs/juce_AiffAudioFormat.h"
  85. #include "codecs/juce_CoreAudioFormat.h"
  86. #include "codecs/juce_FlacAudioFormat.h"
  87. #include "codecs/juce_MP3AudioFormat.h"
  88. #include "codecs/juce_OggVorbisAudioFormat.h"
  89. #include "codecs/juce_QuickTimeAudioFormat.h"
  90. #include "codecs/juce_WavAudioFormat.h"
  91. #include "codecs/juce_WindowsMediaAudioFormat.h"
  92. #ifndef __JUCE_SAMPLER_JUCEHEADER__
  93. #include "sampler/juce_Sampler.h"
  94. #endif
  95. // END_AUTOINCLUDE
  96. }
  97. #endif // __JUCE_AUDIO_FORMATS_JUCEHEADER__