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