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.

140 lines
4.1KB

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