Audio plugin host https://kx.studio/carla
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.

127 lines
3.6KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI 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_H_INCLUDED
  18. #define JUCE_AUDIO_DEVICES_H_INCLUDED
  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). See also the
  35. JUCE_WASAPI_EXCLUSIVE flag.
  36. */
  37. #ifndef JUCE_WASAPI
  38. #define JUCE_WASAPI 1
  39. #endif
  40. /** Config: JUCE_WASAPI_EXCLUSIVE
  41. Enables WASAPI audio devices in exclusive mode (Windows Vista and above).
  42. */
  43. #ifndef JUCE_WASAPI_EXCLUSIVE
  44. #define JUCE_WASAPI_EXCLUSIVE 0
  45. #endif
  46. /** Config: JUCE_DIRECTSOUND
  47. Enables DirectSound audio (MS Windows only).
  48. */
  49. #ifndef JUCE_DIRECTSOUND
  50. #define JUCE_DIRECTSOUND 1
  51. #endif
  52. /** Config: JUCE_ALSA
  53. Enables ALSA audio devices (Linux only).
  54. */
  55. #ifndef JUCE_ALSA
  56. #define JUCE_ALSA 1
  57. #endif
  58. /** Config: JUCE_JACK
  59. Enables JACK audio devices (Linux only).
  60. */
  61. #ifndef JUCE_JACK
  62. #define JUCE_JACK 0
  63. #endif
  64. /** Config: JUCE_USE_ANDROID_OPENSLES
  65. Enables OpenSLES devices (Android only).
  66. */
  67. #ifndef JUCE_USE_ANDROID_OPENSLES
  68. #if JUCE_ANDROID_API_VERSION > 8
  69. #define JUCE_USE_ANDROID_OPENSLES 1
  70. #else
  71. #define JUCE_USE_ANDROID_OPENSLES 0
  72. #endif
  73. #endif
  74. //==============================================================================
  75. /** Config: JUCE_USE_CDREADER
  76. Enables the AudioCDReader class (on supported platforms).
  77. */
  78. #ifndef JUCE_USE_CDREADER
  79. #define JUCE_USE_CDREADER 0
  80. #endif
  81. /** Config: JUCE_USE_CDBURNER
  82. Enables the AudioCDBurner class (on supported platforms).
  83. */
  84. #ifndef JUCE_USE_CDBURNER
  85. #define JUCE_USE_CDBURNER 0
  86. #endif
  87. //==============================================================================
  88. namespace juce
  89. {
  90. #include "audio_io/juce_AudioIODevice.h"
  91. #include "audio_io/juce_AudioIODeviceType.h"
  92. #include "audio_io/juce_SystemAudioVolume.h"
  93. #include "midi_io/juce_MidiInput.h"
  94. #include "midi_io/juce_MidiMessageCollector.h"
  95. #include "midi_io/juce_MidiOutput.h"
  96. #include "sources/juce_AudioSourcePlayer.h"
  97. #include "sources/juce_AudioTransportSource.h"
  98. #include "audio_cd/juce_AudioCDBurner.h"
  99. #include "audio_cd/juce_AudioCDReader.h"
  100. #include "audio_io/juce_AudioDeviceManager.h"
  101. }
  102. #endif // JUCE_AUDIO_DEVICES_H_INCLUDED