mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Tidy divider comments
This commit is contained in:
parent
4351812e83
commit
f5cd9547dd
6 changed files with 15 additions and 15 deletions
|
|
@ -1875,7 +1875,7 @@ public:
|
||||||
flags = getCleanedStringArray (flags);
|
flags = getCleanedStringArray (flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==============================================================================
|
||||||
void writeInfoPlistFile() const
|
void writeInfoPlistFile() const
|
||||||
{
|
{
|
||||||
if (! shouldCreatePList())
|
if (! shouldCreatePList())
|
||||||
|
|
|
||||||
|
|
@ -948,7 +948,7 @@ namespace WavFileHelpers
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//=============================================================================
|
//==============================================================================
|
||||||
namespace IXMLChunk
|
namespace IXMLChunk
|
||||||
{
|
{
|
||||||
static const std::unordered_set<String> aswgMetadataKeys
|
static const std::unordered_set<String> aswgMetadataKeys
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ struct MPEKeyboardComponent::MPENoteComponent : public Component
|
||||||
g.drawEllipse (bounds.withSizeKeepingCentre (pressSize, pressSize), 1.0f);
|
g.drawEllipse (bounds.withSizeKeepingCentre (pressSize, pressSize), 1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==============================================================================
|
||||||
MPEKeyboardComponent& owner;
|
MPEKeyboardComponent& owner;
|
||||||
|
|
||||||
float radiusScale = 0.0f, noteOnVelocity = 0.0f, pressure = 0.5f;
|
float radiusScale = 0.0f, noteOnVelocity = 0.0f, pressure = 0.5f;
|
||||||
|
|
@ -145,7 +145,7 @@ void MPEKeyboardComponent::colourChanged()
|
||||||
repaint();
|
repaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==============================================================================
|
||||||
MPEValue MPEKeyboardComponent::mousePositionToPitchbend (int initialNote, Point<float> mousePos)
|
MPEValue MPEKeyboardComponent::mousePositionToPitchbend (int initialNote, Point<float> mousePos)
|
||||||
{
|
{
|
||||||
auto constrainedMousePos = [&]
|
auto constrainedMousePos = [&]
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ public:
|
||||||
void colourChanged() override;
|
void colourChanged() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//==========================================================================
|
//==============================================================================
|
||||||
struct MPENoteComponent;
|
struct MPENoteComponent;
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace juce
|
||||||
namespace dsp
|
namespace dsp
|
||||||
{
|
{
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
/**
|
/**
|
||||||
A processor that performs multi-channel oversampling.
|
A processor that performs multi-channel oversampling.
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@ public:
|
||||||
numFilterTypes
|
numFilterTypes
|
||||||
};
|
};
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
/** The default constructor.
|
/** The default constructor.
|
||||||
|
|
||||||
Note: This creates a "dummy" oversampling stage, which needs to be removed
|
Note: This creates a "dummy" oversampling stage, which needs to be removed
|
||||||
|
|
@ -97,7 +97,7 @@ public:
|
||||||
/** Destructor. */
|
/** Destructor. */
|
||||||
~Oversampling();
|
~Oversampling();
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
/* Sets if this processor should add some fractional delay at the end of the signal
|
/* 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.
|
path to ensure that the overall latency of the oversampling is an integer.
|
||||||
*/
|
*/
|
||||||
|
|
@ -118,7 +118,7 @@ public:
|
||||||
/** Returns the current oversampling factor. */
|
/** Returns the current oversampling factor. */
|
||||||
size_t getOversamplingFactor() const noexcept;
|
size_t getOversamplingFactor() const noexcept;
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
/** Must be called before any processing, to set the buffer sizes of the internal
|
/** Must be called before any processing, to set the buffer sizes of the internal
|
||||||
buffers of the oversampling processing.
|
buffers of the oversampling processing.
|
||||||
*/
|
*/
|
||||||
|
|
@ -143,7 +143,7 @@ public:
|
||||||
*/
|
*/
|
||||||
void processSamplesDown (AudioBlock<SampleType>& outputBlock) noexcept;
|
void processSamplesDown (AudioBlock<SampleType>& outputBlock) noexcept;
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
/** Adds a new oversampling stage to the Oversampling class, multiplying the
|
/** Adds a new oversampling stage to the Oversampling class, multiplying the
|
||||||
current oversampling factor by two. This is used with the default constructor
|
current oversampling factor by two. This is used with the default constructor
|
||||||
to create custom oversampling chains, requiring a call to the
|
to create custom oversampling chains, requiring a call to the
|
||||||
|
|
@ -187,7 +187,7 @@ public:
|
||||||
*/
|
*/
|
||||||
void clearOversamplingStages();
|
void clearOversamplingStages();
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
size_t factorOversampling = 1;
|
size_t factorOversampling = 1;
|
||||||
size_t numChannels = 1;
|
size_t numChannels = 1;
|
||||||
|
|
||||||
|
|
@ -196,17 +196,17 @@ public:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
void updateDelayLine();
|
void updateDelayLine();
|
||||||
SampleType getUncompensatedLatency() const noexcept;
|
SampleType getUncompensatedLatency() const noexcept;
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
OwnedArray<OversamplingStage> stages;
|
OwnedArray<OversamplingStage> stages;
|
||||||
bool isReady = false, shouldUseIntegerLatency = false;
|
bool isReady = false, shouldUseIntegerLatency = false;
|
||||||
DelayLine<SampleType, DelayLineInterpolationTypes::Thiran> delay { 8 };
|
DelayLine<SampleType, DelayLineInterpolationTypes::Thiran> delay { 8 };
|
||||||
SampleType fractionalDelay = 0;
|
SampleType fractionalDelay = 0;
|
||||||
|
|
||||||
//===============================================================================
|
//==============================================================================
|
||||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Oversampling)
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Oversampling)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ public:
|
||||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//==============================================================================
|
||||||
JUCE_COMRESULT get_DocumentRange (ComTypes::ITextRangeProvider** pRetVal) override
|
JUCE_COMRESULT get_DocumentRange (ComTypes::ITextRangeProvider** pRetVal) override
|
||||||
{
|
{
|
||||||
return withTextInterface (pRetVal, [&] (const AccessibilityTextInterface& textInterface)
|
return withTextInterface (pRetVal, [&] (const AccessibilityTextInterface& textInterface)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue