Browse Source

Added flag: JucePlugin_AAXDisableBypass

tags/2021-05-28
jules 13 years ago
parent
commit
bc259dc955
2 changed files with 7 additions and 0 deletions
  1. +2
    -0
      extras/Introjucer/Source/Project/jucer_AudioPluginModule.h
  2. +5
    -0
      modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp

+ 2
- 0
extras/Introjucer/Source/Project/jucer_AudioPluginModule.h View File

@@ -53,6 +53,7 @@ namespace
Value getPluginRTASCategory (Project& project) { return project.getProjectValue ("pluginRTASCategory"); } Value getPluginRTASCategory (Project& project) { return project.getProjectValue ("pluginRTASCategory"); }
Value getPluginRTASBypassDisabled (Project& project) { return project.getProjectValue ("pluginRTASDisableBypass"); } Value getPluginRTASBypassDisabled (Project& project) { return project.getProjectValue ("pluginRTASDisableBypass"); }
Value getPluginAAXCategory (Project& project) { return project.getProjectValue ("pluginAAXCategory"); } Value getPluginAAXCategory (Project& project) { return project.getProjectValue ("pluginAAXCategory"); }
Value getPluginAAXBypassDisabled (Project& project) { return project.getProjectValue ("pluginAAXDisableBypass"); }
String getPluginRTASCategoryCode (Project& project) String getPluginRTASCategoryCode (Project& project)
{ {
@@ -140,6 +141,7 @@ namespace
flags.set ("JucePlugin_AAXProductId", "JucePlugin_PluginCode"); flags.set ("JucePlugin_AAXProductId", "JucePlugin_PluginCode");
flags.set ("JucePlugin_AAXPluginId", "JucePlugin_PluginCode"); flags.set ("JucePlugin_AAXPluginId", "JucePlugin_PluginCode");
flags.set ("JucePlugin_AAXCategory", getPluginAAXCategory (project).toString()); flags.set ("JucePlugin_AAXCategory", getPluginAAXCategory (project).toString());
flags.set ("JucePlugin_AAXDisableBypass", valueToBool (getPluginAAXBypassDisabled (project)));
MemoryOutputStream mem; MemoryOutputStream mem;


+ 5
- 0
modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp View File

@@ -506,7 +506,12 @@ struct AAXClasses
properties->AddProperty (AAX_eProperty_ManufacturerID, JucePlugin_AAXManufacturerCode); properties->AddProperty (AAX_eProperty_ManufacturerID, JucePlugin_AAXManufacturerCode);
properties->AddProperty (AAX_eProperty_ProductID, JucePlugin_AAXProductId); properties->AddProperty (AAX_eProperty_ProductID, JucePlugin_AAXProductId);
#if JucePlugin_AAXDisableBypass
properties->AddProperty (AAX_eProperty_CanBypass, false);
#else
properties->AddProperty (AAX_eProperty_CanBypass, true); properties->AddProperty (AAX_eProperty_CanBypass, true);
#endif
properties->AddProperty (AAX_eProperty_InputStemFormat, getFormatForChans (numInputs)); properties->AddProperty (AAX_eProperty_InputStemFormat, getFormatForChans (numInputs));
properties->AddProperty (AAX_eProperty_OutputStemFormat, getFormatForChans (numOutputs)); properties->AddProperty (AAX_eProperty_OutputStemFormat, getFormatForChans (numOutputs));


Loading…
Cancel
Save