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
|
|
@ -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)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue