82 template <
typename ContextSampleType>
115 bool isBypassed =
false;
135 template <
typename ContextSampleType>
149 : inputBlock (input), outputBlock (output)
153 jassert (input != output);
174 bool isBypassed =
false;
const ConstAudioBlockType & getInputBlock() const noexcept
Returns the audio block to use as the input to a process function.
uint32 numChannels
The number of channels that the process() method will be expected to handle.
ProcessContextNonReplacing(const ConstAudioBlockType &input, AudioBlockType &output) noexcept
Creates a ProcessContextReplacing that uses the given input and output blocks.
double sampleRate
The sample rate that will be used for the data that is sent to the processor.
Minimal and lightweight data-structure which contains a list of pointers to channels containing some ...
ContextSampleType SampleType
The type of a single sample (which may be a vector if multichannel).
uint32 maximumBlockSize
The maximum number of samples that will be in the blocks sent to process() method.
Contains context information that is passed into an algorithm's process method.
const ConstAudioBlockType & getInputBlock() const noexcept
Returns the audio block to use as the input to a process function.
static constexpr bool usesSeparateInputAndOutputBlocks()
All process context classes will define this constant method so that templated code can determine whe...
Contains context information that is passed into an algorithm's process method.
ContextSampleType SampleType
The type of a single sample (which may be a vector if multichannel).
AudioBlockType & getOutputBlock() const noexcept
Returns the audio block to use as the output to a process function.
static constexpr bool usesSeparateInputAndOutputBlocks()
All process context classes will define this constant method so that templated code can determine whe...
This is a handy base class for the state of a processor (such as parameter values) which is typically...
This structure is passed into a DSP algorithm's prepare() method, and contains information about vari...
A smart-pointer class which points to a reference-counted object.
ProcessContextReplacing(AudioBlockType &block) noexcept
Creates a ProcessContextReplacing that uses the given audio block.
A base class which provides methods for reference-counting.
AudioBlockType & getOutputBlock() const noexcept
Returns the audio block to use as the output to a process function.