Audacity 3.2.0
Echo.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Echo.h
6
7 Dominic Mazzoni
8 Vaughan Johnson (dialog)
9
10**********************************************************************/
11
12#ifndef __AUDACITY_EFFECT_ECHO__
13#define __AUDACITY_EFFECT_ECHO__
14
15#include "EchoBase.h"
16#include "ShuttleAutomation.h"
18#include <float.h> // for FLT_MAX
19
20class ShuttleGui;
21
22class EffectEcho final : public EchoBase, public StatelessEffectUIServices
23{
24 public:
25
26 struct Editor;
27
28 // Effect implementation
29 std::unique_ptr<EffectEditor> MakeEditor(
30 ShuttleGui & S, EffectInstance &instance,
31 EffectSettingsAccess &access, const EffectOutputs *pOutputs)
32 const override;
33
34 std::shared_ptr<EffectInstance> MakeInstance() const override;
35};
36
37#endif // __AUDACITY_EFFECT_ECHO__
#define S(N)
Definition: ToChars.cpp:64
An Effect that causes an echo, variable delay and volume.
Definition: Echo.h:23
std::shared_ptr< EffectInstance > MakeInstance() const override
Make an object maintaining short-term state of an Effect.
Definition: Echo.cpp:31
std::unique_ptr< EffectEditor > MakeEditor(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
Called only from PopulateUI, to add controls to effect panel.
Definition: Echo.cpp:56
Performs effect computation.
Hold values to send to effect output meters.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640