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.

130 lines
3.9KB

  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. //=============================================================================
  61. /** Config: JUCE_USE_CDREADER
  62. Enables the AudioCDReader class (on supported platforms).
  63. */
  64. #ifndef JUCE_USE_CDREADER
  65. #define JUCE_USE_CDREADER 0
  66. #endif
  67. /** Config: JUCE_USE_CDBURNER
  68. Enables the AudioCDBurner class (on supported platforms).
  69. */
  70. #ifndef JUCE_USE_CDBURNER
  71. #define JUCE_USE_CDBURNER 0
  72. #endif
  73. //=============================================================================
  74. BEGIN_JUCE_NAMESPACE
  75. // START_AUTOINCLUDE audio_io, midi_io, sources, audio_cd
  76. #ifndef __JUCE_AUDIODEVICEMANAGER_JUCEHEADER__
  77. #include "audio_io/juce_AudioDeviceManager.h"
  78. #endif
  79. #ifndef __JUCE_AUDIOIODEVICE_JUCEHEADER__
  80. #include "audio_io/juce_AudioIODevice.h"
  81. #endif
  82. #ifndef __JUCE_AUDIOIODEVICETYPE_JUCEHEADER__
  83. #include "audio_io/juce_AudioIODeviceType.h"
  84. #endif
  85. #ifndef __JUCE_MIDIINPUT_JUCEHEADER__
  86. #include "midi_io/juce_MidiInput.h"
  87. #endif
  88. #ifndef __JUCE_MIDIMESSAGECOLLECTOR_JUCEHEADER__
  89. #include "midi_io/juce_MidiMessageCollector.h"
  90. #endif
  91. #ifndef __JUCE_MIDIOUTPUT_JUCEHEADER__
  92. #include "midi_io/juce_MidiOutput.h"
  93. #endif
  94. #ifndef __JUCE_AUDIOSOURCEPLAYER_JUCEHEADER__
  95. #include "sources/juce_AudioSourcePlayer.h"
  96. #endif
  97. #ifndef __JUCE_AUDIOTRANSPORTSOURCE_JUCEHEADER__
  98. #include "sources/juce_AudioTransportSource.h"
  99. #endif
  100. #ifndef __JUCE_AUDIOCDBURNER_JUCEHEADER__
  101. #include "audio_cd/juce_AudioCDBurner.h"
  102. #endif
  103. #ifndef __JUCE_AUDIOCDREADER_JUCEHEADER__
  104. #include "audio_cd/juce_AudioCDReader.h"
  105. #endif
  106. // END_AUTOINCLUDE
  107. END_JUCE_NAMESPACE
  108. #endif // __JUCE_AUDIO_DEVICES_JUCEHEADER__