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.

124 lines
4.7KB

  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_plugin_client
  20. vendor: juce
  21. version: 6.1.6
  22. name: JUCE audio plugin wrapper classes
  23. description: Classes for building VST, VST3, AudioUnit, AAX and RTAS plugins.
  24. website: http://www.juce.com/juce
  25. license: GPL/Commercial
  26. minimumCppStandard: 14
  27. dependencies: juce_audio_processors
  28. END_JUCE_MODULE_DECLARATION
  29. *******************************************************************************/
  30. #pragma once
  31. #include <juce_gui_basics/juce_gui_basics.h>
  32. #include <juce_audio_basics/juce_audio_basics.h>
  33. #include <juce_audio_processors/juce_audio_processors.h>
  34. /** Config: JUCE_VST3_CAN_REPLACE_VST2
  35. Enable this if you want your VST3 plug-in to load and save VST2 compatible
  36. state. This allows hosts to replace VST2 plug-ins with VST3 plug-ins. If
  37. you change this option then your VST3 plug-in will be incompatible with
  38. previous versions.
  39. */
  40. #ifndef JUCE_VST3_CAN_REPLACE_VST2
  41. #define JUCE_VST3_CAN_REPLACE_VST2 1
  42. #endif
  43. /** Config: JUCE_FORCE_USE_LEGACY_PARAM_IDS
  44. Enable this if you want to force JUCE to use a continuous parameter
  45. index to identify a parameter in a DAW (this was the default in old
  46. versions of JUCE). This is index is usually used by the DAW to save
  47. automation data and enabling this may mess up user's DAW projects.
  48. */
  49. #ifndef JUCE_FORCE_USE_LEGACY_PARAM_IDS
  50. #define JUCE_FORCE_USE_LEGACY_PARAM_IDS 0
  51. #endif
  52. /** Config: JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE
  53. Enable this if you want to force JUCE to use a legacy scheme for
  54. identifying plug-in parameters as either continuous or discrete.
  55. DAW projects with automation data written by an AudioUnit, VST3 or
  56. AAX plug-in built with JUCE version 5.1.1 or earlier may load
  57. incorrectly when opened by an AudioUnit, VST3 or AAX plug-in built
  58. with JUCE version 5.2.0 and later.
  59. */
  60. #ifndef JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE
  61. #define JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE 0
  62. #endif
  63. /** Config: JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS
  64. Enable this if you want JUCE to use parameter ids which are compatible
  65. with Studio One, as Studio One ignores any parameter ids which are negative.
  66. Enabling this option will make JUCE generate only positive parameter ids.
  67. Note that if you have already released a plug-in prior to JUCE 4.3.0 then
  68. enabling this will change your parameter ids, making your plug-in
  69. incompatible with old automation data.
  70. */
  71. #ifndef JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS
  72. #define JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS 1
  73. #endif
  74. /** Config: JUCE_AU_WRAPPERS_SAVE_PROGRAM_STATES
  75. Enable this if you want to receive get/setProgramStateInformation calls,
  76. instead of get/setStateInformation calls, from the AU and AUv3 plug-in
  77. wrappers. In JUCE version 5.4.5 and earlier this was the default behaviour,
  78. so if you have modified the default implementations of get/setProgramStateInformation
  79. (where the default implementations simply call through to get/setStateInformation)
  80. then you may need to enable this configuration option to maintain backwards
  81. compatibility with previously saved state.
  82. */
  83. #ifndef JUCE_AU_WRAPPERS_SAVE_PROGRAM_STATES
  84. #define JUCE_AU_WRAPPERS_SAVE_PROGRAM_STATES 0
  85. #endif
  86. /** Config: JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE
  87. Enable this if you want your standalone plugin window to use kiosk mode.
  88. By default, kiosk mode is enabled on iOS and Android.
  89. */
  90. #ifndef JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE
  91. #define JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE (JUCE_IOS || JUCE_ANDROID)
  92. #endif
  93. #include "utility/juce_CreatePluginFilter.h"