60template <
typename SampleType>
67 filterHalfBandFIREquiripple = 0,
68 filterHalfBandPolyphaseIIR,
88 bool isMaxQuality =
true);
112 SampleType getLatencyInSamples() noexcept;
115 size_t getOversamplingFactor() noexcept;
121 void initProcessing (
size_t maximumNumberOfSamplesBeforeOversampling);
124 void reset() noexcept;
133 AudioBlock<SampleType> processSamplesUp (const
AudioBlock<const SampleType>& inputBlock) noexcept;
140 void processSamplesDown (
AudioBlock<SampleType>& outputBlock) noexcept;
166 void addOversamplingStage (FilterType,
167 float normalisedTransitionWidthUp,
float stopbandAmplitudedBUp,
168 float normalisedTransitionWidthDown,
float stopbandAmplitudedBDown);
177 void addDummyOversamplingStage();
184 void clearOversamplingStages();
187 size_t factorOversampling = 1;
188 size_t numChannels = 1;
191 struct OversamplingStage;
197 bool isReady =
false;
200 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (
Oversampling)
An array designed for holding objects.
Minimal and lightweight data-structure which contains a list of pointers to channels containing some ...
A processing class performing multi-channel oversampling.
FilterType
The type of filter that can be used for the oversampling processing.
#define JUCE_API
This macro is added to all JUCE public class declarations.