Audacity 3.2.0
Reverse.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Reverse.h
6
7 Mark Phillips
8
9 This class reverses the selected audio.
10
11**********************************************************************/
12
13#ifndef __AUDACITY_EFFECT_REVERSE__
14#define __AUDACITY_EFFECT_REVERSE__
15
16#include "StatefulEffect.h"
17#include <functional>
18
19class EffectReverse final : public StatefulEffect
20{
21public:
23
25 virtual ~EffectReverse();
26
27 // ComponentInterface implementation
28
29 ComponentInterfaceSymbol GetSymbol() const override;
30 TranslatableString GetDescription() const override;
31
32 // EffectDefinitionInterface implementation
33
34 EffectType GetType() const override;
35 bool IsInteractive() const override;
36
37 // Effect implementation
38
39 bool Process(EffectInstance &instance, EffectSettings &settings) override;
40 };
41
42#endif
43
EffectType
static Settings & settings()
Definition: TrackInfo.cpp:47
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Performs effect computation.
An Effect that reverses the selected audio.
Definition: Reverse.h:20
static const ComponentInterfaceSymbol Symbol
Definition: Reverse.h:22
ComponentInterfaceSymbol GetSymbol() const override
Definition: Reverse.cpp:47
EffectType GetType() const override
Type determines how it behaves.
Definition: Reverse.cpp:59
TranslatableString GetDescription() const override
Definition: Reverse.cpp:52
virtual ~EffectReverse()
Definition: Reverse.cpp:41
bool Process(EffectInstance &instance, EffectSettings &settings) override
Definition: Reverse.cpp:71
bool IsInteractive() const override
Whether the effect needs a dialog for entry of settings.
Definition: Reverse.cpp:64
Holds a msgid for the translation catalog; may also bind format arguments.
Externalized state of a plug-in.