30 jassert (inputSource !=
nullptr);
73void ReverbAudioSource::setBypassed (
bool b)
noexcept
Holds a resizable array of primitive or copy-by-value objects.
Base class for objects that can produce a continuous stream of audio.
ReverbAudioSource(AudioSource *inputSource, bool deleteInputWhenDeleted)
Creates a ReverbAudioSource to process a given input source.
void setParameters(const Reverb::Parameters &newParams)
Changes the reverb's parameters.
void prepareToPlay(int samplesPerBlockExpected, double sampleRate) override
Tells the source to prepare for playing.
~ReverbAudioSource() override
Destructor.
void releaseResources() override
Allows the source to release anything it no longer needs after playback has stopped.
void getNextAudioBlock(const AudioSourceChannelInfo &) override
Called repeatedly to fetch subsequent blocks of audio data.
void processMono(float *const samples, const int numSamples) noexcept
Applies the reverb to a single mono channel of audio data.
void processStereo(float *const left, float *const right, const int numSamples) noexcept
Applies the reverb to two stereo channels of audio data.
void setParameters(const Parameters &newParams)
Applies a new set of parameters to the reverb.
void setSampleRate(const double sampleRate)
Sets the sample rate that will be used for the reverb.
Holds the parameters being used by a Reverb object.
Used by AudioSource::getNextAudioBlock().