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.

152 lines
6.1KB

  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.1.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. minimumCppStandard: 14
  32. dependencies: juce_gui_extra, juce_audio_basics
  33. OSXFrameworks: CoreAudio CoreMIDI AudioToolbox
  34. iOSFrameworks: AudioToolbox
  35. END_JUCE_MODULE_DECLARATION
  36. *******************************************************************************/
  37. #pragma once
  38. #define JUCE_AUDIO_PROCESSORS_H_INCLUDED
  39. #include <juce_gui_basics/juce_gui_basics.h>
  40. #include <juce_audio_basics/juce_audio_basics.h>
  41. //==============================================================================
  42. /** Config: JUCE_PLUGINHOST_VST
  43. 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.
  44. @see VSTPluginFormat, VST3PluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_AU, JUCE_PLUGINHOST_VST3, JUCE_PLUGINHOST_LADSPA
  45. */
  46. #ifndef JUCE_PLUGINHOST_VST
  47. #define JUCE_PLUGINHOST_VST 0
  48. #endif
  49. /** Config: JUCE_PLUGINHOST_VST3
  50. Enables the VST3 audio plugin hosting classes.
  51. @see VSTPluginFormat, VST3PluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_AU, JUCE_PLUGINHOST_LADSPA
  52. */
  53. #ifndef JUCE_PLUGINHOST_VST3
  54. #define JUCE_PLUGINHOST_VST3 0
  55. #endif
  56. /** Config: JUCE_PLUGINHOST_AU
  57. Enables the AudioUnit plugin hosting classes. This is Mac-only, of course.
  58. @see AudioUnitPluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_VST3, JUCE_PLUGINHOST_LADSPA
  59. */
  60. #ifndef JUCE_PLUGINHOST_AU
  61. #define JUCE_PLUGINHOST_AU 0
  62. #endif
  63. /** Config: JUCE_PLUGINHOST_LADSPA
  64. Enables the LADSPA plugin hosting classes. This is Linux-only, of course.
  65. @see LADSPAPluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_VST3, JUCE_PLUGINHOST_AU
  66. */
  67. #ifndef JUCE_PLUGINHOST_LADSPA
  68. #define JUCE_PLUGINHOST_LADSPA 0
  69. #endif
  70. /** Config: JUCE_CUSTOM_VST3_SDK
  71. If enabled, the embedded VST3 SDK in JUCE will not be added to the project and instead you should
  72. add the path to your custom VST3 SDK to the project's header search paths. Most users shouldn't
  73. need to enable this and should just use the version of the SDK included with JUCE.
  74. */
  75. #ifndef JUCE_CUSTOM_VST3_SDK
  76. #define JUCE_CUSTOM_VST3_SDK 0
  77. #endif
  78. #if ! (JUCE_PLUGINHOST_AU || JUCE_PLUGINHOST_VST || JUCE_PLUGINHOST_VST3 || JUCE_PLUGINHOST_LADSPA)
  79. // #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!"
  80. #endif
  81. #if ! (defined (JUCE_SUPPORT_CARBON) || JUCE_64BIT || JUCE_IOS)
  82. #define JUCE_SUPPORT_CARBON 1
  83. #endif
  84. #ifndef JUCE_SUPPORT_LEGACY_AUDIOPROCESSOR
  85. #define JUCE_SUPPORT_LEGACY_AUDIOPROCESSOR 1
  86. #endif
  87. //==============================================================================
  88. #include "utilities/juce_VSTCallbackHandler.h"
  89. #include "utilities/juce_VST3ClientExtensions.h"
  90. #include "utilities/juce_ExtensionsVisitor.h"
  91. #include "processors/juce_AudioProcessorParameter.h"
  92. #include "processors/juce_HostedAudioProcessorParameter.h"
  93. #include "processors/juce_AudioProcessorEditorHostContext.h"
  94. #include "processors/juce_AudioProcessorEditor.h"
  95. #include "processors/juce_AudioProcessorListener.h"
  96. #include "processors/juce_AudioProcessorParameterGroup.h"
  97. #include "processors/juce_AudioProcessor.h"
  98. #include "processors/juce_PluginDescription.h"
  99. #include "processors/juce_AudioPluginInstance.h"
  100. #include "processors/juce_AudioProcessorGraph.h"
  101. #include "processors/juce_GenericAudioProcessorEditor.h"
  102. #include "format/juce_AudioPluginFormat.h"
  103. #include "format/juce_AudioPluginFormatManager.h"
  104. #include "scanning/juce_KnownPluginList.h"
  105. #include "format_types/juce_AudioUnitPluginFormat.h"
  106. #include "format_types/juce_LADSPAPluginFormat.h"
  107. #include "format_types/juce_VSTMidiEventList.h"
  108. #include "format_types/juce_VSTPluginFormat.h"
  109. #include "format_types/juce_VST3PluginFormat.h"
  110. #include "scanning/juce_PluginDirectoryScanner.h"
  111. #include "scanning/juce_PluginListComponent.h"
  112. #include "utilities/juce_AudioProcessorParameterWithID.h"
  113. #include "utilities/juce_RangedAudioParameter.h"
  114. #include "utilities/juce_AudioParameterFloat.h"
  115. #include "utilities/juce_AudioParameterInt.h"
  116. #include "utilities/juce_AudioParameterBool.h"
  117. #include "utilities/juce_AudioParameterChoice.h"
  118. #include "utilities/juce_ParameterAttachments.h"
  119. #include "utilities/juce_AudioProcessorValueTreeState.h"
  120. #include "utilities/juce_PluginHostType.h"