From a48465327b7593e9249f0c9232a414b7c47e8032 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 11 Jan 2016 10:18:49 +0000 Subject: [PATCH] Added a macro JucePlugin_AAXDisableDynamicProcessing, which can be used to disable dynamics processing in an AAX plugin --- modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp index 4993a5b1bb..a27e36c414 100644 --- a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp @@ -1308,6 +1308,10 @@ struct AAXClasses properties->AddProperty (AAX_eProperty_Constraint_MultiMonoSupport, true); #endif + #if JucePlugin_AAXDisableDynamicProcessing + properties->AddProperty (AAX_eProperty_Constraint_AlwaysProcess, true); + #endif + if (enableAuxBusesForCurrentFormat (busUtils, inputLayout, outputLayout)) { check (desc.AddSideChainIn (JUCEAlgorithmIDs::sideChainBuffers));