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.

96 lines
3.6KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2017 - ROLI Ltd.
  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 5 End-User License
  8. Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
  9. 27th April 2017).
  10. End User License Agreement: www.juce.com/juce-5-licence
  11. Privacy Policy: www.juce.com/juce-5-privacy-policy
  12. Or: You may also use this code under the terms of the GPL v3 (see
  13. www.gnu.org/licenses).
  14. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  15. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  16. DISCLAIMED.
  17. ==============================================================================
  18. */
  19. /*******************************************************************************
  20. The block below describes the properties of this module, and is read by
  21. the Projucer to automatically generate project code that uses it.
  22. For details about the syntax and how to create or use a module, see the
  23. JUCE Module Format.txt file.
  24. BEGIN_JUCE_MODULE_DECLARATION
  25. ID: juce_audio_plugin_client
  26. vendor: juce
  27. version: 5.1.1
  28. name: JUCE audio plugin wrapper classes
  29. description: Classes for building VST, VST3, AudioUnit, AAX and RTAS plugins.
  30. website: http://www.juce.com/juce
  31. license: GPL/Commercial
  32. dependencies: juce_gui_basics, juce_audio_basics, juce_audio_processors
  33. END_JUCE_MODULE_DECLARATION
  34. *******************************************************************************/
  35. #pragma once
  36. #include <juce_gui_basics/juce_gui_basics.h>
  37. #include <juce_audio_basics/juce_audio_basics.h>
  38. #include <juce_audio_processors/juce_audio_processors.h>
  39. /** Config: JUCE_FORCE_USE_LEGACY_PARAM_IDS
  40. Enable this if you want to force JUCE to use a continuous parameter
  41. index to identify a parameter in a DAW (this was the default in old
  42. versions of JUCE). This is index is usually used by the DAW to save
  43. automation data and enabling this may mess up user's DAW projects.
  44. */
  45. #ifndef JUCE_FORCE_USE_LEGACY_PARAM_IDS
  46. #define JUCE_FORCE_USE_LEGACY_PARAM_IDS 0
  47. #endif
  48. /** Config: JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE
  49. Enable this if you want to force JUCE to use a legacy scheme for
  50. identifying plug-in parameters as either continuous or discrete.
  51. DAW projects with automation data written by an AudioUnit, VST3 or
  52. AAX plug-in built with JUCE version 5.1.1 or earlier may load
  53. incorrectly when opened by an AudioUnit, VST3 or AAX plug-in built
  54. with JUCE version 5.2.0 and later.
  55. */
  56. #ifndef JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE
  57. #define JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE 0
  58. #endif
  59. /** Config: JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS
  60. Enable this if you want JUCE to use parameter ids which are compatible
  61. with Studio One. Studio One ignores any parameter ids which are negative.
  62. Enabling this option will make JUCE generate only positive parameter ids.
  63. Note that if you have already released a plug-in prior to JUCE 4.3.0 then
  64. enabling this will change your parameter ids making your plug-in
  65. incompatible to old automation data.
  66. */
  67. #ifndef JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS
  68. #define JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS 1
  69. #endif
  70. #include "utility/juce_PluginHostType.h"
  71. #include "VST/juce_VSTCallbackHandler.h"