1212#include < string>
1313#include < math.h>
1414
15- class FireAmp :
16- public AudioEffectX
15+ class FireAmp final : public AudioEffectX
1716{
1817public:
1918 enum {
@@ -31,23 +30,24 @@ class FireAmp :
3130
3231 FireAmp (audioMasterCallback audioMaster);
3332 ~FireAmp ();
34- virtual bool getEffectName (char * name); // The plug-in name
35- virtual VstPlugCategory getPlugCategory (); // The general category for the plug-in
36- virtual bool getProductString (char * text); // This is a unique plug-in string provided by Steinberg
37- virtual bool getVendorString (char * text); // Vendor info
38- virtual VstInt32 getVendorVersion (); // Version number
39- virtual void processReplacing (float ** inputs, float ** outputs, VstInt32 sampleFrames);
40- virtual void processDoubleReplacing (double ** inputs, double ** outputs, VstInt32 sampleFrames);
41- virtual void getProgramName (char *name); // read the name from the host
42- virtual void setProgramName (char *name); // changes the name of the preset displayed in the host
43- virtual VstInt32 getChunk (void ** data, bool isPreset);
44- virtual VstInt32 setChunk (void * data, VstInt32 byteSize, bool isPreset);
45- virtual float getParameter (VstInt32 index); // get the parameter value at the specified index
46- virtual void setParameter (VstInt32 index, float value); // set the parameter at index to value
47- virtual void getParameterLabel (VstInt32 index, char *text); // label for the parameter (eg dB)
48- virtual void getParameterName (VstInt32 index, char *text); // name of the parameter
49- virtual void getParameterDisplay (VstInt32 index, char *text); // text description of the current value
50- virtual VstInt32 canDo (char *text);
33+ void reset ();
34+ bool getEffectName (char * name); // The plug-in name
35+ VstPlugCategory getPlugCategory (); // The general category for the plug-in
36+ bool getProductString (char * text); // This is a unique plug-in string provided by Steinberg
37+ bool getVendorString (char * text); // Vendor info
38+ VstInt32 getVendorVersion (); // Version number
39+ void processReplacing (float ** inputs, float ** outputs, VstInt32 sampleFrames);
40+ void processDoubleReplacing (double ** inputs, double ** outputs, VstInt32 sampleFrames);
41+ void getProgramName (char *name); // read the name from the host
42+ void setProgramName (char *name); // changes the name of the preset displayed in the host
43+ VstInt32 getChunk (void ** data, bool isPreset);
44+ VstInt32 setChunk (void * data, VstInt32 byteSize, bool isPreset);
45+ float getParameter (VstInt32 index); // get the parameter value at the specified index
46+ void setParameter (VstInt32 index, float value); // set the parameter at index to value
47+ void getParameterLabel (VstInt32 index, char *text); // label for the parameter (eg dB)
48+ void getParameterName (VstInt32 index, char *text); // name of the parameter
49+ void getParameterDisplay (VstInt32 index, char *text); // text description of the current value
50+ VstInt32 canDo (char *text);
5151private:
5252 char _programName[kVstMaxProgNameLen + 1 ];
5353 std::set< std::string > _canDo;
0 commit comments