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.

145 lines
5.8KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 6 End-User License
  8. Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
  9. End User License Agreement: www.juce.com/juce-6-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. /*******************************************************************************
  19. The block below describes the properties of this module, and is read by
  20. the Projucer to automatically generate project code that uses it.
  21. For details about the syntax and how to create or use a module, see the
  22. JUCE Module Format.md file.
  23. BEGIN_JUCE_MODULE_DECLARATION
  24. ID: juce_audio_processors
  25. vendor: juce
  26. version: 6.0.4
  27. name: JUCE audio processor classes
  28. description: Classes for loading and playing VST, AU, LADSPA, or internally-generated audio processors.
  29. website: http://www.juce.com/juce
  30. license: GPL/Commercial
  31. dependencies: juce_gui_extra, juce_audio_basics
  32. OSXFrameworks: CoreAudio CoreMIDI AudioToolbox
  33. iOSFrameworks: AudioToolbox
  34. END_JUCE_MODULE_DECLARATION
  35. *******************************************************************************/
  36. #pragma once
  37. #define JUCE_AUDIO_PROCESSORS_H_INCLUDED
  38. #include <juce_gui_basics/juce_gui_basics.h>
  39. #include <juce_audio_basics/juce_audio_basics.h>
  40. //==============================================================================
  41. /** Config: JUCE_PLUGINHOST_VST
  42. Enables the VST audio plugin hosting classes. You will need to have the VST2 SDK files in your header search paths. You can obtain the VST2 SDK files from on older version of the VST3 SDK.
  43. @see VSTPluginFormat, VST3PluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_AU, JUCE_PLUGINHOST_VST3, JUCE_PLUGINHOST_LADSPA
  44. */
  45. #ifndef JUCE_PLUGINHOST_VST
  46. #define JUCE_PLUGINHOST_VST 0
  47. #endif
  48. /** Config: JUCE_PLUGINHOST_VST3
  49. Enables the VST3 audio plugin hosting classes.
  50. @see VSTPluginFormat, VST3PluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_AU, JUCE_PLUGINHOST_LADSPA
  51. */
  52. #ifndef JUCE_PLUGINHOST_VST3
  53. #define JUCE_PLUGINHOST_VST3 0
  54. #endif
  55. /** Config: JUCE_PLUGINHOST_AU
  56. Enables the AudioUnit plugin hosting classes. This is Mac-only, of course.
  57. @see AudioUnitPluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_VST3, JUCE_PLUGINHOST_LADSPA
  58. */
  59. #ifndef JUCE_PLUGINHOST_AU
  60. #define JUCE_PLUGINHOST_AU 0
  61. #endif
  62. /** Config: JUCE_PLUGINHOST_LADSPA
  63. Enables the LADSPA plugin hosting classes. This is Linux-only, of course.
  64. @see LADSPAPluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_VST3, JUCE_PLUGINHOST_AU
  65. */
  66. #ifndef JUCE_PLUGINHOST_LADSPA
  67. #define JUCE_PLUGINHOST_LADSPA 0
  68. #endif
  69. /** Config: JUCE_CUSTOM_VST3_SDK
  70. If enabled, the embedded VST3 SDK in JUCE will not be added to the project and instead you should
  71. add the path to your custom VST3 SDK to the project's header search paths. Most users shouldn't
  72. need to enable this and should just use the version of the SDK included with JUCE.
  73. */
  74. #ifndef JUCE_CUSTOM_VST3_SDK
  75. #define JUCE_CUSTOM_VST3_SDK 0
  76. #endif
  77. #if ! (JUCE_PLUGINHOST_AU || JUCE_PLUGINHOST_VST || JUCE_PLUGINHOST_VST3 || JUCE_PLUGINHOST_LADSPA)
  78. // #error "You need to set either the JUCE_PLUGINHOST_AU and/or JUCE_PLUGINHOST_VST and/or JUCE_PLUGINHOST_VST3 and/or JUCE_PLUGINHOST_LADSPA flags if you're using this module!"
  79. #endif
  80. #if ! (defined (JUCE_SUPPORT_CARBON) || JUCE_64BIT || JUCE_IOS)
  81. #define JUCE_SUPPORT_CARBON 1
  82. #endif
  83. #ifndef JUCE_SUPPORT_LEGACY_AUDIOPROCESSOR
  84. #define JUCE_SUPPORT_LEGACY_AUDIOPROCESSOR 1
  85. #endif
  86. //==============================================================================
  87. #include "processors/juce_AudioProcessorEditor.h"
  88. #include "processors/juce_AudioProcessorListener.h"
  89. #include "processors/juce_AudioProcessorParameter.h"
  90. #include "processors/juce_AudioProcessorParameterGroup.h"
  91. #include "processors/juce_AudioProcessor.h"
  92. #include "processors/juce_PluginDescription.h"
  93. #include "processors/juce_AudioPluginInstance.h"
  94. #include "processors/juce_AudioProcessorGraph.h"
  95. #include "processors/juce_GenericAudioProcessorEditor.h"
  96. #include "format/juce_AudioPluginFormat.h"
  97. #include "format/juce_AudioPluginFormatManager.h"
  98. #include "scanning/juce_KnownPluginList.h"
  99. #include "format_types/juce_AudioUnitPluginFormat.h"
  100. #include "format_types/juce_LADSPAPluginFormat.h"
  101. #include "format_types/juce_VSTMidiEventList.h"
  102. #include "format_types/juce_VSTPluginFormat.h"
  103. #include "format_types/juce_VST3PluginFormat.h"
  104. #include "scanning/juce_PluginDirectoryScanner.h"
  105. #include "scanning/juce_PluginListComponent.h"
  106. #include "utilities/juce_AudioProcessorParameterWithID.h"
  107. #include "utilities/juce_RangedAudioParameter.h"
  108. #include "utilities/juce_AudioParameterFloat.h"
  109. #include "utilities/juce_AudioParameterInt.h"
  110. #include "utilities/juce_AudioParameterBool.h"
  111. #include "utilities/juce_AudioParameterChoice.h"
  112. #include "utilities/juce_ParameterAttachments.h"
  113. #include "utilities/juce_AudioProcessorValueTreeState.h"