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.

138 lines
5.5KB

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