From 0d80e2227692998f3c9962e95e8159a4c7d09630 Mon Sep 17 00:00:00 2001 From: reuk Date: Wed, 20 Aug 2025 14:04:58 +0100 Subject: [PATCH] AudioUnitPluginFormat: Remove unused preprocessor defs --- .../format_types/juce_AudioUnitPluginFormat.mm | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm index 26ea81e0d7..9cbe7835b9 100644 --- a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm +++ b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm @@ -57,17 +57,6 @@ namespace juce { -// Change this to disable logging of various activities -#ifndef AU_LOGGING - #define AU_LOGGING 1 -#endif - -#if AU_LOGGING - #define JUCE_AU_LOG(a) Logger::writeToLog(a); -#else - #define JUCE_AU_LOG(a) -#endif - namespace AudioUnitFormatHelpers { #if JUCE_DEBUG @@ -262,7 +251,6 @@ namespace AudioUnitFormatHelpers // Audio Unit plugins expect hosts to listen to their view bounds, and to resize // the plugin window/view appropriately. - #if JUCE_MAC || JUCE_IOS #if JUCE_IOS #define JUCE_IOS_MAC_VIEW UIView using ViewComponentBaseClass = UIViewComponent; @@ -277,7 +265,6 @@ namespace AudioUnitFormatHelpers void childBoundsChanged (Component*) override { triggerAsyncUpdate(); } void handleAsyncUpdate() override { resizeToFitView(); } }; - #endif template static std::optional tryGetProperty (AudioUnit inUnit, @@ -2984,8 +2971,6 @@ FileSearchPath AudioUnitPluginFormat::getDefaultLocationsToSearch() return {}; } -#undef JUCE_AU_LOG - } // namespace juce #endif