mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-29 15:09:30 +02:00
... for functions in final classes. override is like const -- it's not necessary, but it helps the compiler to catch mistakes. There may be some overriding functions not explicitly declared virtual and I did not identify such cases, in which I might also add override.
46 lines
955 B
C++
46 lines
955 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
Invert.h
|
|
|
|
Mark Phillips
|
|
|
|
This class inverts the selected audio.
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_EFFECT_INVERT__
|
|
#define __AUDACITY_EFFECT_INVERT__
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include "Effect.h"
|
|
|
|
#define INVERT_PLUGIN_SYMBOL XO("Invert")
|
|
|
|
class EffectInvert final : public Effect
|
|
{
|
|
public:
|
|
EffectInvert();
|
|
virtual ~EffectInvert();
|
|
|
|
// IdentInterface implementation
|
|
|
|
wxString GetSymbol() override;
|
|
wxString GetDescription() override;
|
|
|
|
// EffectIdentInterface implementation
|
|
|
|
EffectType GetType() override;
|
|
bool IsInteractive() override;
|
|
|
|
// EffectClientInterface implementation
|
|
|
|
int GetAudioInCount() override;
|
|
int GetAudioOutCount() override;
|
|
sampleCount ProcessBlock(float **inBlock, float **outBlock, sampleCount blockLen) override;
|
|
};
|
|
|
|
#endif
|