From 04fa895f385ad6de7fe1838bfb1d88922412f1f7 Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 21 Nov 2024 13:26:44 +0000 Subject: [PATCH] AAX Client: Enable host-provided editor when plugin does not supply an editor --- .../juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp b/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp index abeba58e65..ade6f87bd9 100644 --- a/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp +++ b/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp @@ -2466,6 +2466,9 @@ namespace AAXClasses properties->AddProperty (AAX_eProperty_InputStemFormat, static_cast (aaxInputFormat)); properties->AddProperty (AAX_eProperty_OutputStemFormat, static_cast (aaxOutputFormat)); + // If the plugin doesn't have an editor, ask the host to provide one + properties->AddProperty (AAX_eProperty_UsesClientGUI, static_cast (! processor.hasEditor())); + const auto& extensions = processor.getAAXClientExtensions(); // This value needs to match the RTAS wrapper's Type ID, so that