mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-29 15:09:30 +02:00
... whenever they really describe the size of a buffer that fits in memory, or of a block file (which is never now more than a megabyte and so could be fit in memory all at once), or a part thereof.
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
|
|
|
|
unsigned GetAudioInCount() override;
|
|
unsigned GetAudioOutCount() override;
|
|
size_t ProcessBlock(float **inBlock, float **outBlock, size_t blockLen) override;
|
|
};
|
|
|
|
#endif
|