1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Tidy divider comments

This commit is contained in:
Anthony Nicholls 2023-05-26 09:04:21 +01:00
parent 4351812e83
commit f5cd9547dd
6 changed files with 15 additions and 15 deletions

View file

@ -1875,7 +1875,7 @@ public:
flags = getCleanedStringArray (flags);
}
//==========================================================================
//==============================================================================
void writeInfoPlistFile() const
{
if (! shouldCreatePList())

View file

@ -948,7 +948,7 @@ namespace WavFileHelpers
}
};
//=============================================================================
//==============================================================================
namespace IXMLChunk
{
static const std::unordered_set<String> aswgMetadataKeys

View file

@ -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<float> mousePos)
{
auto constrainedMousePos = [&]

View file

@ -100,7 +100,7 @@ public:
void colourChanged() override;
private:
//==========================================================================
//==============================================================================
struct MPENoteComponent;
//==============================================================================

View file

@ -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<SampleType>& 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<OversamplingStage> stages;
bool isReady = false, shouldUseIntegerLatency = false;
DelayLine<SampleType, DelayLineInterpolationTypes::Thiran> delay { 8 };
SampleType fractionalDelay = 0;
//===============================================================================
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Oversampling)
};

View file

@ -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)