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.

151 lines
6.1KB

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