From f5cd9547ddf166066d67ffddbceeb79524008936 Mon Sep 17 00:00:00 2001 From: Anthony Nicholls Date: Fri, 26 May 2023 09:04:21 +0100 Subject: [PATCH] Tidy divider comments --- .../ProjectSaving/jucer_ProjectExport_Xcode.h | 2 +- .../codecs/juce_WavAudioFormat.cpp | 2 +- .../gui/juce_MPEKeyboardComponent.cpp | 4 ++-- .../gui/juce_MPEKeyboardComponent.h | 2 +- .../juce_dsp/processors/juce_Oversampling.h | 18 +++++++++--------- .../juce_UIATextProvider_windows.h | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h index 55044d2956..8caba41bc7 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h @@ -1875,7 +1875,7 @@ public: flags = getCleanedStringArray (flags); } - //========================================================================== + //============================================================================== void writeInfoPlistFile() const { if (! shouldCreatePList()) diff --git a/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp b/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp index c562882ca8..0105a2c3f5 100644 --- a/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp +++ b/modules/juce_audio_formats/codecs/juce_WavAudioFormat.cpp @@ -948,7 +948,7 @@ namespace WavFileHelpers } }; - //============================================================================= + //============================================================================== namespace IXMLChunk { static const std::unordered_set aswgMetadataKeys diff --git a/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.cpp b/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.cpp index f6121c3ce9..76e022f4c5 100644 --- a/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.cpp +++ b/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.cpp @@ -59,7 +59,7 @@ struct MPEKeyboardComponent::MPENoteComponent : public Component g.drawEllipse (bounds.withSizeKeepingCentre (pressSize, pressSize), 1.0f); } - //========================================================================== + //============================================================================== MPEKeyboardComponent& owner; float radiusScale = 0.0f, noteOnVelocity = 0.0f, pressure = 0.5f; @@ -145,7 +145,7 @@ void MPEKeyboardComponent::colourChanged() repaint(); } -//========================================================================== +//============================================================================== MPEValue MPEKeyboardComponent::mousePositionToPitchbend (int initialNote, Point mousePos) { auto constrainedMousePos = [&] diff --git a/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.h b/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.h index b149bd6bb1..a53be6f01d 100644 --- a/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.h +++ b/modules/juce_audio_utils/gui/juce_MPEKeyboardComponent.h @@ -100,7 +100,7 @@ public: void colourChanged() override; private: - //========================================================================== + //============================================================================== struct MPENoteComponent; //============================================================================== diff --git a/modules/juce_dsp/processors/juce_Oversampling.h b/modules/juce_dsp/processors/juce_Oversampling.h index 95ffd98756..9d5990ae0b 100644 --- a/modules/juce_dsp/processors/juce_Oversampling.h +++ b/modules/juce_dsp/processors/juce_Oversampling.h @@ -28,7 +28,7 @@ namespace juce namespace dsp { -//=============================================================================== +//============================================================================== /** A processor that performs multi-channel oversampling. @@ -63,7 +63,7 @@ public: numFilterTypes }; - //=============================================================================== + //============================================================================== /** The default constructor. Note: This creates a "dummy" oversampling stage, which needs to be removed @@ -97,7 +97,7 @@ public: /** Destructor. */ ~Oversampling(); - //=============================================================================== + //============================================================================== /* Sets if this processor should add some fractional delay at the end of the signal path to ensure that the overall latency of the oversampling is an integer. */ @@ -118,7 +118,7 @@ public: /** Returns the current oversampling factor. */ size_t getOversamplingFactor() const noexcept; - //=============================================================================== + //============================================================================== /** Must be called before any processing, to set the buffer sizes of the internal buffers of the oversampling processing. */ @@ -143,7 +143,7 @@ public: */ void processSamplesDown (AudioBlock& outputBlock) noexcept; - //=============================================================================== + //============================================================================== /** Adds a new oversampling stage to the Oversampling class, multiplying the current oversampling factor by two. This is used with the default constructor to create custom oversampling chains, requiring a call to the @@ -187,7 +187,7 @@ public: */ void clearOversamplingStages(); - //=============================================================================== + //============================================================================== size_t factorOversampling = 1; size_t numChannels = 1; @@ -196,17 +196,17 @@ public: #endif private: - //=============================================================================== + //============================================================================== void updateDelayLine(); SampleType getUncompensatedLatency() const noexcept; - //=============================================================================== + //============================================================================== OwnedArray stages; bool isReady = false, shouldUseIntegerLatency = false; DelayLine delay { 8 }; SampleType fractionalDelay = 0; - //=============================================================================== + //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Oversampling) }; diff --git a/modules/juce_gui_basics/native/accessibility/juce_UIATextProvider_windows.h b/modules/juce_gui_basics/native/accessibility/juce_UIATextProvider_windows.h index 6b9b0ff46a..b9d7979069 100644 --- a/modules/juce_gui_basics/native/accessibility/juce_UIATextProvider_windows.h +++ b/modules/juce_gui_basics/native/accessibility/juce_UIATextProvider_windows.h @@ -50,7 +50,7 @@ public: JUCE_END_IGNORE_WARNINGS_GCC_LIKE } - //============================================================================= + //============================================================================== JUCE_COMRESULT get_DocumentRange (ComTypes::ITextRangeProvider** pRetVal) override { return withTextInterface (pRetVal, [&] (const AccessibilityTextInterface& textInterface)