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.

111 lines
4.0KB

  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_H_INCLUDED
  18. #define JUCE_AUDIO_FORMATS_H_INCLUDED
  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. class AudioFormat;
  71. #include "format/juce_AudioFormatReader.h"
  72. #include "format/juce_AudioFormatWriter.h"
  73. #include "format/juce_MemoryMappedAudioFormatReader.h"
  74. #include "format/juce_AudioFormat.h"
  75. #include "format/juce_AudioFormatManager.h"
  76. #include "format/juce_AudioFormatReaderSource.h"
  77. #include "format/juce_AudioSubsectionReader.h"
  78. #include "format/juce_BufferingAudioFormatReader.h"
  79. #include "codecs/juce_AiffAudioFormat.h"
  80. #include "codecs/juce_CoreAudioFormat.h"
  81. #include "codecs/juce_FlacAudioFormat.h"
  82. #include "codecs/juce_LAMEEncoderAudioFormat.h"
  83. #include "codecs/juce_MP3AudioFormat.h"
  84. #include "codecs/juce_OggVorbisAudioFormat.h"
  85. #include "codecs/juce_QuickTimeAudioFormat.h"
  86. #include "codecs/juce_WavAudioFormat.h"
  87. #include "codecs/juce_WindowsMediaAudioFormat.h"
  88. #include "sampler/juce_Sampler.h"
  89. }
  90. #endif // JUCE_AUDIO_FORMATS_H_INCLUDED