25 return GetEffect().GetLatency().as_long_long();
29 const float *
const *,
float *
const *,
size_t)
42 return std::make_shared<Instance>(
const_cast<StatefulEffect&
>(*
this));
static Settings & settings()
size_t ProcessBlock(EffectSettings &settings, const float *const *inBlock, float *const *outBlock, size_t blockLen) override
Default implementation fails (returns 0 always)
SampleCount GetLatency(const EffectSettings &settings, double sampleRate) const override
bool Process(EffectSettings &settings) override
Actually do the effect here.
StatefulEffectBase & GetEffect() const
virtual bool Process(EffectInstance &instance, EffectSettings &settings)=0
~StatefulEffect() override
std::shared_ptr< EffectInstance > MakeInstance() const override
Make an object maintaining short-term state of an Effect.
Externalized state of a plug-in.