Audacity  3.0.3
Invert.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  Invert.h
6 
7  Mark Phillips
8 
9  This class inverts the selected audio.
10 
11 **********************************************************************/
12 
13 #ifndef __AUDACITY_EFFECT_INVERT__
14 #define __AUDACITY_EFFECT_INVERT__
15 
16 #include "Effect.h"
17 
18 class EffectInvert final : public Effect
19 {
20 public:
22 
23  EffectInvert();
24  virtual ~EffectInvert();
25 
26  // ComponentInterface implementation
27 
30 
31  // EffectDefinitionInterface implementation
32 
33  EffectType GetType() override;
34  bool IsInteractive() override;
35 
36  // EffectClientInterface implementation
37 
38  unsigned GetAudioInCount() override;
39  unsigned GetAudioOutCount() override;
40  size_t ProcessBlock(float **inBlock, float **outBlock, size_t blockLen) override;
41 };
42 
43 #endif
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
EffectInvert::ProcessBlock
size_t ProcessBlock(float **inBlock, float **outBlock, size_t blockLen) override
Definition: Invert.cpp:73
Effect.h
Effect
Base class for many of the effects in Audacity.
Definition: Effect.h:72
EffectInvert::GetAudioInCount
unsigned GetAudioInCount() override
Definition: Invert.cpp:63
ComponentInterfaceSymbol
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Definition: ComponentInterfaceSymbol.h:27
EffectInvert::GetType
EffectType GetType() override
Definition: Invert.cpp:51
EffectInvert
An Effect that inverts the selected audio.
Definition: Invert.h:19
EffectInvert::GetSymbol
ComponentInterfaceSymbol GetSymbol() override
Definition: Invert.cpp:39
EffectInvert::~EffectInvert
virtual ~EffectInvert()
Definition: Invert.cpp:33
EffectInvert::Symbol
static const ComponentInterfaceSymbol Symbol
Definition: Invert.h:21
EffectInvert::GetDescription
TranslatableString GetDescription() override
Definition: Invert.cpp:44
EffectInvert::EffectInvert
EffectInvert()
Definition: Invert.cpp:29
EffectType
EffectType
Definition: EffectInterface.h:55
EffectInvert::IsInteractive
bool IsInteractive() override
Definition: Invert.cpp:56
EffectInvert::GetAudioOutCount
unsigned GetAudioOutCount() override
Definition: Invert.cpp:68