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.

142 lines
4.2KB

  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_DEVICES_JUCEHEADER__
  19. #define __JUCE_AUDIO_DEVICES_JUCEHEADER__
  20. #include "../juce_events/juce_events.h"
  21. #include "../juce_audio_basics/juce_audio_basics.h"
  22. #if JUCE_USE_CDREADER
  23. #include "../juce_audio_formats/juce_audio_formats.h"
  24. #endif
  25. //=============================================================================
  26. /** Config: JUCE_ASIO
  27. Enables ASIO audio devices (MS Windows only).
  28. Turning this on means that you'll need to have the Steinberg ASIO SDK installed
  29. on your Windows build machine.
  30. See the comments in the ASIOAudioIODevice class's header file for more
  31. info about this.
  32. */
  33. #ifndef JUCE_ASIO
  34. #define JUCE_ASIO 0
  35. #endif
  36. /** Config: JUCE_WASAPI
  37. Enables WASAPI audio devices (Windows Vista and above).
  38. */
  39. #ifndef JUCE_WASAPI
  40. #define JUCE_WASAPI 1
  41. #endif
  42. /** Config: JUCE_DIRECTSOUND
  43. Enables DirectSound audio (MS Windows only).
  44. */
  45. #ifndef JUCE_DIRECTSOUND
  46. #define JUCE_DIRECTSOUND 1
  47. #endif
  48. /** Config: JUCE_ALSA
  49. Enables ALSA audio devices (Linux only).
  50. */
  51. #ifndef JUCE_ALSA
  52. #define JUCE_ALSA 1
  53. #endif
  54. /** Config: JUCE_JACK
  55. Enables JACK audio devices (Linux only).
  56. */
  57. #ifndef JUCE_JACK
  58. #define JUCE_JACK 0
  59. #endif
  60. /** Config: JUCE_USE_ANDROID_OPENSLES
  61. Enables OpenSLES devices (Android only).
  62. */
  63. #ifndef JUCE_USE_ANDROID_OPENSLES
  64. #if JUCE_ANDROID_API_VERSION > 8
  65. #define JUCE_USE_ANDROID_OPENSLES 1
  66. #else
  67. #define JUCE_USE_ANDROID_OPENSLES 0
  68. #endif
  69. #endif
  70. //=============================================================================
  71. /** Config: JUCE_USE_CDREADER
  72. Enables the AudioCDReader class (on supported platforms).
  73. */
  74. #ifndef JUCE_USE_CDREADER
  75. #define JUCE_USE_CDREADER 0
  76. #endif
  77. /** Config: JUCE_USE_CDBURNER
  78. Enables the AudioCDBurner class (on supported platforms).
  79. */
  80. #ifndef JUCE_USE_CDBURNER
  81. #define JUCE_USE_CDBURNER 0
  82. #endif
  83. //=============================================================================
  84. namespace juce
  85. {
  86. // START_AUTOINCLUDE audio_io, midi_io, sources, audio_cd
  87. #ifndef __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__
  88. #include "audio_io/juce_AudioDeviceManager.h"
  89. #endif
  90. #ifndef __JUCE_AUDIOIODEVICE_JUCEHEADER__
  91. #include "audio_io/juce_AudioIODevice.h"
  92. #endif
  93. #ifndef __JUCE_AUDIOIODEVICETYPE_JUCEHEADER__
  94. #include "audio_io/juce_AudioIODeviceType.h"
  95. #endif
  96. #ifndef __JUCE_MIDIINPUT_JUCEHEADER__
  97. #include "midi_io/juce_MidiInput.h"
  98. #endif
  99. #ifndef __JUCE_MIDIMESSAGECOLLECTOR_JUCEHEADER__
  100. #include "midi_io/juce_MidiMessageCollector.h"
  101. #endif
  102. #ifndef __JUCE_MIDIOUTPUT_JUCEHEADER__
  103. #include "midi_io/juce_MidiOutput.h"
  104. #endif
  105. #ifndef __JUCE_AUDIOSOURCEPLAYER_JUCEHEADER__
  106. #include "sources/juce_AudioSourcePlayer.h"
  107. #endif
  108. #ifndef __JUCE_AUDIOTRANSPORTSOURCE_JUCEHEADER__
  109. #include "sources/juce_AudioTransportSource.h"
  110. #endif
  111. #ifndef __JUCE_AUDIOCDBURNER_JUCEHEADER__
  112. #include "audio_cd/juce_AudioCDBurner.h"
  113. #endif
  114. #ifndef __JUCE_AUDIOCDREADER_JUCEHEADER__
  115. #include "audio_cd/juce_AudioCDReader.h"
  116. #endif
  117. // END_AUTOINCLUDE
  118. }
  119. #endif // __JUCE_AUDIO_DEVICES_JUCEHEADER__