mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Added flag: JucePlugin_AAXDisableBypass
This commit is contained in:
parent
3578465cba
commit
bc259dc955
2 changed files with 7 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ namespace
|
|||
Value getPluginRTASCategory (Project& project) { return project.getProjectValue ("pluginRTASCategory"); }
|
||||
Value getPluginRTASBypassDisabled (Project& project) { return project.getProjectValue ("pluginRTASDisableBypass"); }
|
||||
Value getPluginAAXCategory (Project& project) { return project.getProjectValue ("pluginAAXCategory"); }
|
||||
Value getPluginAAXBypassDisabled (Project& project) { return project.getProjectValue ("pluginAAXDisableBypass"); }
|
||||
|
||||
String getPluginRTASCategoryCode (Project& project)
|
||||
{
|
||||
|
|
@ -140,6 +141,7 @@ namespace
|
|||
flags.set ("JucePlugin_AAXProductId", "JucePlugin_PluginCode");
|
||||
flags.set ("JucePlugin_AAXPluginId", "JucePlugin_PluginCode");
|
||||
flags.set ("JucePlugin_AAXCategory", getPluginAAXCategory (project).toString());
|
||||
flags.set ("JucePlugin_AAXDisableBypass", valueToBool (getPluginAAXBypassDisabled (project)));
|
||||
|
||||
MemoryOutputStream mem;
|
||||
|
||||
|
|
|
|||
|
|
@ -506,7 +506,12 @@ struct AAXClasses
|
|||
|
||||
properties->AddProperty (AAX_eProperty_ManufacturerID, JucePlugin_AAXManufacturerCode);
|
||||
properties->AddProperty (AAX_eProperty_ProductID, JucePlugin_AAXProductId);
|
||||
|
||||
#if JucePlugin_AAXDisableBypass
|
||||
properties->AddProperty (AAX_eProperty_CanBypass, false);
|
||||
#else
|
||||
properties->AddProperty (AAX_eProperty_CanBypass, true);
|
||||
#endif
|
||||
|
||||
properties->AddProperty (AAX_eProperty_InputStemFormat, getFormatForChans (numInputs));
|
||||
properties->AddProperty (AAX_eProperty_OutputStemFormat, getFormatForChans (numOutputs));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue