32 return GetEffect().ProcessFinalize();
36 const float *
const *inBlock,
float *
const *outBlock,
size_t blockLen)
38 return GetEffect().ProcessBlock(
settings, inBlock, outBlock, blockLen);
49 return std::make_shared<Instance>(
static Settings & settings()
Performs effect computation.
bool Process(EffectInstance &instance, EffectSettings &settings) const
bool ProcessInitialize(EffectSettings &settings, double sampleRate, ChannelNames chanMap) override
StatefulPerTrackEffect & GetEffect() const
size_t ProcessBlock(EffectSettings &settings, const float *const *inBlock, float *const *outBlock, size_t blockLen) override
Called for destructive effect computation.
bool ProcessFinalize() noexcept override
Base class for many of the effects in Audacity.
bool ProcessInitialize(EffectSettings &settings, double sampleRate, ChannelNames chanMap=nullptr) override
~StatefulPerTrackEffect() override
bool ProcessFinalize() noexcept override
size_t GetBlockSize() const override
size_t SetBlockSize(size_t maxBlockSize) override
std::shared_ptr< EffectInstance > MakeInstance() const override
Make an object maintaining short-term state of an Effect.
bool Process(EffectInstance &instance, EffectSettings &settings) final
constexpr auto sampleRate
constexpr auto maxBlockSize
Externalized state of a plug-in.