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.

118 lines
3.4KB

  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_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).
  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. #include "audio_io/juce_AudioIODevice.h"
  84. #include "audio_io/juce_AudioIODeviceType.h"
  85. #include "audio_io/juce_SystemAudioVolume.h"
  86. #include "midi_io/juce_MidiInput.h"
  87. #include "midi_io/juce_MidiMessageCollector.h"
  88. #include "midi_io/juce_MidiOutput.h"
  89. #include "sources/juce_AudioSourcePlayer.h"
  90. #include "sources/juce_AudioTransportSource.h"
  91. #include "audio_cd/juce_AudioCDBurner.h"
  92. #include "audio_cd/juce_AudioCDReader.h"
  93. #include "audio_io/juce_AudioDeviceManager.h"
  94. }
  95. #endif // JUCE_AUDIO_DEVICES_H_INCLUDED