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.

137 lines
4.1KB

  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. /*******************************************************************************
  18. The block below describes the properties of this module, and is read by
  19. the Projucer to automatically generate project code that uses it.
  20. For details about the syntax and how to create or use a module, see the
  21. JUCE Module Format.txt file.
  22. BEGIN_JUCE_MODULE_DECLARATION
  23. ID: juce_audio_devices
  24. vendor: juce
  25. version: 4.3.0
  26. name: JUCE audio and MIDI I/O device classes
  27. description: Classes to play and record from audio and MIDI I/O devices
  28. website: http://www.juce.com/juce
  29. license: GPL/Commercial
  30. dependencies: juce_audio_basics, juce_events
  31. OSXFrameworks: CoreAudio CoreMIDI AudioToolbox
  32. iOSFrameworks: CoreAudio CoreMIDI AudioToolbox AVFoundation
  33. linuxPackages: alsa
  34. mingwLibs: winmm
  35. END_JUCE_MODULE_DECLARATION
  36. *******************************************************************************/
  37. #ifndef JUCE_AUDIO_DEVICES_H_INCLUDED
  38. #define JUCE_AUDIO_DEVICES_H_INCLUDED
  39. #include <juce_events/juce_events.h>
  40. #include <juce_audio_basics/juce_audio_basics.h>
  41. //==============================================================================
  42. /** Config: JUCE_ASIO
  43. Enables ASIO audio devices (MS Windows only).
  44. Turning this on means that you'll need to have the Steinberg ASIO SDK installed
  45. on your Windows build machine.
  46. See the comments in the ASIOAudioIODevice class's header file for more
  47. info about this.
  48. */
  49. #ifndef JUCE_ASIO
  50. #define JUCE_ASIO 0
  51. #endif
  52. /** Config: JUCE_WASAPI
  53. Enables WASAPI audio devices (Windows Vista and above). See also the
  54. JUCE_WASAPI_EXCLUSIVE flag.
  55. */
  56. #ifndef JUCE_WASAPI
  57. #define JUCE_WASAPI 1
  58. #endif
  59. /** Config: JUCE_WASAPI_EXCLUSIVE
  60. Enables WASAPI audio devices in exclusive mode (Windows Vista and above).
  61. */
  62. #ifndef JUCE_WASAPI_EXCLUSIVE
  63. #define JUCE_WASAPI_EXCLUSIVE 0
  64. #endif
  65. /** Config: JUCE_DIRECTSOUND
  66. Enables DirectSound audio (MS Windows only).
  67. */
  68. #ifndef JUCE_DIRECTSOUND
  69. #define JUCE_DIRECTSOUND 1
  70. #endif
  71. /** Config: JUCE_ALSA
  72. Enables ALSA audio devices (Linux only).
  73. */
  74. #ifndef JUCE_ALSA
  75. #define JUCE_ALSA 1
  76. #endif
  77. /** Config: JUCE_JACK
  78. Enables JACK audio devices (Linux only).
  79. */
  80. #ifndef JUCE_JACK
  81. #define JUCE_JACK 0
  82. #endif
  83. /** Config: JUCE_USE_ANDROID_OPENSLES
  84. Enables OpenSLES devices (Android only).
  85. */
  86. #ifndef JUCE_USE_ANDROID_OPENSLES
  87. #if JUCE_ANDROID_API_VERSION > 8
  88. #define JUCE_USE_ANDROID_OPENSLES 1
  89. #else
  90. #define JUCE_USE_ANDROID_OPENSLES 0
  91. #endif
  92. #endif
  93. //==============================================================================
  94. namespace juce
  95. {
  96. #include "audio_io/juce_AudioIODevice.h"
  97. #include "audio_io/juce_AudioIODeviceType.h"
  98. #include "audio_io/juce_SystemAudioVolume.h"
  99. #include "midi_io/juce_MidiInput.h"
  100. #include "midi_io/juce_MidiMessageCollector.h"
  101. #include "midi_io/juce_MidiOutput.h"
  102. #include "sources/juce_AudioSourcePlayer.h"
  103. #include "sources/juce_AudioTransportSource.h"
  104. #include "audio_io/juce_AudioDeviceManager.h"
  105. }
  106. #endif // JUCE_AUDIO_DEVICES_H_INCLUDED