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