Browse Source

Added support for setting a flag JucePlugin_AAXDisableAudioSuite to prevent the AAX wrapper adding audiosuite support

tags/2021-05-28
jules 11 years ago
parent
commit
f5b1919e51
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp

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

@@ -792,6 +792,9 @@ struct AAXClasses
if (lastBufferSize != bufferSize)
{
lastBufferSize = bufferSize;
pluginInstance->setPlayConfigDetails (pluginInstance->getNumInputChannels(),
pluginInstance->getNumOutputChannels(),
sampleRate, bufferSize);
pluginInstance->prepareToPlay (sampleRate, bufferSize);
}
@@ -998,7 +1001,10 @@ struct AAXClasses
// This value needs to match the RTAS wrapper's Type ID, so that
// the host knows that the RTAS/AAX plugins are equivalent.
properties->AddProperty (AAX_eProperty_PlugInID_Native, 'jcaa' + channelConfigIndex);
#if ! JucePlugin_AAXDisableAudioSuite
properties->AddProperty (AAX_eProperty_PlugInID_AudioSuite, 'jyaa' + channelConfigIndex);
#endif
#if JucePlugin_AAXDisableMultiMono
properties->AddProperty (AAX_eProperty_Constraint_MultiMonoSupport, false);


Loading…
Cancel
Save