1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
/**********************************************************************
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/checkbox.h>
#include <wx/button.h>
#include <wx/dialog.h>
#include <wx/stattext.h>
#include <wx/slider.h>
#include <wx/textctrl.h>
#include <wx/sizer.h>
#include "Effect.h"
#define __UNINITIALIZED__ (-1)
class WaveTrack;
class EffectInvert:public Effect {
public:
EffectInvert();
virtual wxString GetEffectName() {
return wxString("Invert");
}
virtual wxString GetEffectAction() {
return wxString("Inverting");
}
virtual bool Process();
private:
bool ProcessOne(int count, WaveTrack * t,
sampleCount start, sampleCount len);
private:
};
#endif
|