aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdaThruZero.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdaThruZero.h')
-rw-r--r--src/mdaThruZero.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mdaThruZero.h b/src/mdaThruZero.h
index 2f35cb2..437de88 100644
--- a/src/mdaThruZero.h
+++ b/src/mdaThruZero.h
@@ -43,24 +43,24 @@ public:
mdaThruZero(audioMasterCallback audioMaster);
~mdaThruZero();
- virtual void process(float **inputs, float **outputs, LvzInt32 sampleFrames);
- virtual void processReplacing(float **inputs, float **outputs, LvzInt32 sampleFrames);
- virtual void setProgram(LvzInt32 program);
+ virtual void process(float **inputs, float **outputs, int32_t sampleFrames);
+ virtual void processReplacing(float **inputs, float **outputs, int32_t sampleFrames);
+ virtual void setProgram(int32_t 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);
- virtual void getParameterDisplay(LvzInt32 index, char *text);
- virtual void getParameterName(LvzInt32 index, char *text);
+ virtual bool getProgramNameIndexed (int32_t category, int32_t index, char* name);
+ virtual void setParameter(int32_t index, float value);
+ virtual float getParameter(int32_t index);
+ virtual void getParameterLabel(int32_t index, char *label);
+ virtual void getParameterDisplay(int32_t index, char *text);
+ virtual void getParameterName(int32_t index, char *text);
virtual void suspend();
virtual void resume();
virtual bool getEffectName(char *name);
virtual bool getVendorString(char *text);
virtual bool getProductString(char *text);
- virtual LvzInt32 getVendorVersion() { return 1000; }
+ virtual int32_t getVendorVersion() { return 1000; }
protected:
mdaThruZeroProgram *programs;
@@ -69,7 +69,7 @@ protected:
float rat, dep, wet, dry, fb, dem; //rate, depth, wet & dry mix, feedback, mindepth
float phi, fb1, fb2, deps; //lfo & feedback buffers, depth change smoothing
float *buffer, *buffer2; //maybe use 2D buffer?
- LvzInt32 size, bufpos;
+ int32_t size, bufpos;
};
#endif