Audacity  2.2.0
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 <wx/string.h>
17 
18 #include "Effect.h"
19 
20 #define INVERT_PLUGIN_SYMBOL XO("Invert")
21 
22 class EffectInvert final : public Effect
23 {
24 public:
25  EffectInvert();
26  virtual ~EffectInvert();
27 
28  // IdentInterface implementation
29 
30  wxString GetSymbol() override;
31  wxString GetDescription() override;
32 
33  // EffectIdentInterface implementation
34 
35  EffectType GetType() override;
36  bool IsInteractive() override;
37 
38  // EffectClientInterface implementation
39 
40  unsigned GetAudioInCount() override;
41  unsigned GetAudioOutCount() override;
42  size_t ProcessBlock(float **inBlock, float **outBlock, size_t blockLen) override;
43 };
44 
45 #endif
unsigned GetAudioOutCount() override
Definition: Invert.cpp:62
Base class for many of the effects in Audacity.
Definition: Effect.h:62
size_t ProcessBlock(float **inBlock, float **outBlock, size_t blockLen) override
Definition: Invert.cpp:67
unsigned GetAudioInCount() override
Definition: Invert.cpp:57
wxString GetSymbol() override
Definition: Invert.cpp:33
EffectType GetType() override
Definition: Invert.cpp:45
wxString GetDescription() override
Definition: Invert.cpp:38
bool IsInteractive() override
Definition: Invert.cpp:50
EffectInvert()
Definition: Invert.cpp:23
An Effect that inverts the selected audio.
Definition: Invert.h:22
virtual ~EffectInvert()
Definition: Invert.cpp:27