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.

143 lines
4.5KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2016 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of the ISC license
  6. http://www.isc.org/downloads/software-support-policy/isc-license/
  7. Permission to use, copy, modify, and/or distribute this software for any
  8. purpose with or without fee is hereby granted, provided that the above
  9. copyright notice and this permission notice appear in all copies.
  10. THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD
  11. TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  12. FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
  13. OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  14. USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  16. OF THIS SOFTWARE.
  17. -----------------------------------------------------------------------------
  18. To release a closed-source product which uses other parts of JUCE not
  19. licensed under the ISC terms, commercial licenses are available: visit
  20. www.juce.com for more information.
  21. ==============================================================================
  22. */
  23. /*******************************************************************************
  24. The block below describes the properties of this module, and is read by
  25. the Projucer to automatically generate project code that uses it.
  26. For details about the syntax and how to create or use a module, see the
  27. JUCE Module Format.txt file.
  28. BEGIN_JUCE_MODULE_DECLARATION
  29. ID: juce_audio_devices
  30. vendor: juce
  31. version: 4.3.1
  32. name: JUCE audio and MIDI I/O device classes
  33. description: Classes to play and record from audio and MIDI I/O devices
  34. website: http://www.juce.com/juce
  35. license: ISC
  36. dependencies: juce_audio_basics, juce_events
  37. OSXFrameworks: CoreAudio CoreMIDI AudioToolbox
  38. iOSFrameworks: CoreAudio CoreMIDI AudioToolbox AVFoundation
  39. linuxPackages: alsa
  40. mingwLibs: winmm
  41. END_JUCE_MODULE_DECLARATION
  42. *******************************************************************************/
  43. #ifndef JUCE_AUDIO_DEVICES_H_INCLUDED
  44. #define JUCE_AUDIO_DEVICES_H_INCLUDED
  45. #include <juce_events/juce_events.h>
  46. #include <juce_audio_basics/juce_audio_basics.h>
  47. //==============================================================================
  48. /** Config: JUCE_ASIO
  49. Enables ASIO audio devices (MS Windows only).
  50. Turning this on means that you'll need to have the Steinberg ASIO SDK installed
  51. on your Windows build machine.
  52. See the comments in the ASIOAudioIODevice class's header file for more
  53. info about this.
  54. */
  55. #ifndef JUCE_ASIO
  56. #define JUCE_ASIO 0
  57. #endif
  58. /** Config: JUCE_WASAPI
  59. Enables WASAPI audio devices (Windows Vista and above). See also the
  60. JUCE_WASAPI_EXCLUSIVE flag.
  61. */
  62. #ifndef JUCE_WASAPI
  63. #define JUCE_WASAPI 1
  64. #endif
  65. /** Config: JUCE_WASAPI_EXCLUSIVE
  66. Enables WASAPI audio devices in exclusive mode (Windows Vista and above).
  67. */
  68. #ifndef JUCE_WASAPI_EXCLUSIVE
  69. #define JUCE_WASAPI_EXCLUSIVE 0
  70. #endif
  71. /** Config: JUCE_DIRECTSOUND
  72. Enables DirectSound audio (MS Windows only).
  73. */
  74. #ifndef JUCE_DIRECTSOUND
  75. #define JUCE_DIRECTSOUND 1
  76. #endif
  77. /** Config: JUCE_ALSA
  78. Enables ALSA audio devices (Linux only).
  79. */
  80. #ifndef JUCE_ALSA
  81. #define JUCE_ALSA 1
  82. #endif
  83. /** Config: JUCE_JACK
  84. Enables JACK audio devices (Linux only).
  85. */
  86. #ifndef JUCE_JACK
  87. #define JUCE_JACK 0
  88. #endif
  89. /** Config: JUCE_USE_ANDROID_OPENSLES
  90. Enables OpenSLES devices (Android only).
  91. */
  92. #ifndef JUCE_USE_ANDROID_OPENSLES
  93. #if JUCE_ANDROID_API_VERSION > 8
  94. #define JUCE_USE_ANDROID_OPENSLES 1
  95. #else
  96. #define JUCE_USE_ANDROID_OPENSLES 0
  97. #endif
  98. #endif
  99. //==============================================================================
  100. namespace juce
  101. {
  102. #include "audio_io/juce_AudioIODevice.h"
  103. #include "audio_io/juce_AudioIODeviceType.h"
  104. #include "audio_io/juce_SystemAudioVolume.h"
  105. #include "midi_io/juce_MidiInput.h"
  106. #include "midi_io/juce_MidiMessageCollector.h"
  107. #include "midi_io/juce_MidiOutput.h"
  108. #include "sources/juce_AudioSourcePlayer.h"
  109. #include "sources/juce_AudioTransportSource.h"
  110. #include "audio_io/juce_AudioDeviceManager.h"
  111. }
  112. #endif // JUCE_AUDIO_DEVICES_H_INCLUDED