From 8ccc290525226a817198698f9f5e25e0b1cba371 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 26 Nov 2023 18:04:34 +0100 Subject: [PATCH] More JUCE tweaks for JUCE_AUDIOPROCESSOR_NO_GUI Signed-off-by: falkTX --- .../juce_audio_processors/juce_audio_processors.cpp | 8 +++++--- .../utilities/juce_AudioProcessorValueTreeState.cpp | 2 ++ libs/juce6.0/source | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libs/juce5/source/modules/juce_audio_processors/juce_audio_processors.cpp b/libs/juce5/source/modules/juce_audio_processors/juce_audio_processors.cpp index 424a6c23b..791bdb0e3 100644 --- a/libs/juce5/source/modules/juce_audio_processors/juce_audio_processors.cpp +++ b/libs/juce5/source/modules/juce_audio_processors/juce_audio_processors.cpp @@ -178,8 +178,10 @@ void AutoResizingNSViewComponentWithParent::timerCallback() #include "format_types/juce_VSTPluginFormat.cpp" #include "format_types/juce_VST3PluginFormat.cpp" #include "format_types/juce_AudioUnitPluginFormat.mm" -#include "scanning/juce_KnownPluginList.cpp" -#include "scanning/juce_PluginDirectoryScanner.cpp" -#include "scanning/juce_PluginListComponent.cpp" +#if ! JUCE_AUDIOPROCESSOR_NO_GUI + #include "scanning/juce_KnownPluginList.cpp" + #include "scanning/juce_PluginDirectoryScanner.cpp" + #include "scanning/juce_PluginListComponent.cpp" +#endif #include "utilities/juce_AudioProcessorParameters.cpp" #include "utilities/juce_AudioProcessorValueTreeState.cpp" diff --git a/libs/juce5/source/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp b/libs/juce5/source/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp index 055b1566c..c9ead0132 100644 --- a/libs/juce5/source/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp +++ b/libs/juce5/source/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp @@ -334,6 +334,7 @@ void AudioProcessorValueTreeState::timerCallback() AudioProcessorValueTreeState::Listener::Listener() {} AudioProcessorValueTreeState::Listener::~Listener() {} +#if ! JUCE_AUDIOPROCESSOR_NO_GUI //============================================================================== struct AttachedControlBase : public AudioProcessorValueTreeState::Listener, public AsyncUpdater @@ -572,5 +573,6 @@ AudioProcessorValueTreeState::ButtonAttachment::ButtonAttachment (AudioProcessor } AudioProcessorValueTreeState::ButtonAttachment::~ButtonAttachment() {} +#endif } // namespace juce diff --git a/libs/juce6.0/source b/libs/juce6.0/source index 6f0cbda48..a3ae7b1c7 160000 --- a/libs/juce6.0/source +++ b/libs/juce6.0/source @@ -1 +1 @@ -Subproject commit 6f0cbda48c999fa608ea4f120ee5c370d004ed56 +Subproject commit a3ae7b1c75b9539caad0e447371f7f6e1f0eaf42