diff options
Diffstat (limited to 'src/mdaDetune.h')
-rw-r--r-- | src/mdaDetune.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mdaDetune.h b/src/mdaDetune.h index d20f510..10b019b 100644 --- a/src/mdaDetune.h +++ b/src/mdaDetune.h @@ -14,8 +14,6 @@ class mdaDetuneProgram {
public:
mdaDetuneProgram();
- ~mdaDetuneProgram() {}
-
private:
friend class mdaDetune;
float param[NPARAMS];
@@ -34,6 +32,7 @@ public: virtual void setProgram(LvzInt32 program);
virtual void setProgramName(char *name);
virtual void getProgramName(char *name);
+ virtual bool getProgramNameIndexed (LvzInt32 category, LvzInt32 index, char* name);
virtual void setParameter(LvzInt32 index, float value);
virtual float getParameter(LvzInt32 index);
virtual void getParameterLabel(LvzInt32 index, char *label);
@@ -48,16 +47,14 @@ public: virtual LvzInt32 getVendorVersion() { return 1000; }
protected:
- float param[NPARAMS];
- char programName[32];
mdaDetuneProgram *programs;
///global internal variables
float *buf, *win; //buffer, window
- long buflen; //buffer length
+ LvzInt32 buflen; //buffer length
float bufres; //buffer resolution display
float semi; //detune display
- long pos0; //buffer input
+ LvzInt32 pos0; //buffer input
float pos1, dpos1; //buffer output, rate
float pos2, dpos2; //downwards shift
float wet, dry; //ouput levels
|