48 bool deleteInputWhenDeleted);
60 void setBypassed (
bool isBypassed)
noexcept;
61 bool isBypassed() const noexcept {
return bypass; }
64 void prepareToPlay (
int samplesPerBlockExpected,
double sampleRate)
override;
65 void releaseResources()
override;
66 void getNextAudioBlock (
const AudioSourceChannelInfo&)
override;
71 OptionalScopedPointer<AudioSource> input;
73 std::atomic<bool> bypass;
75 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ReverbAudioSource)
Base class for objects that can produce a continuous stream of audio.
An AudioSource that uses the Reverb class to apply a reverb to another AudioSource.
const Reverb::Parameters & getParameters() const noexcept
Returns the parameters from the reverb.
Holds the parameters being used by a Reverb object.
#define JUCE_API
This macro is added to all JUCE public class declarations.