diff --git a/plugins/zynaddsubfx/src/DSP/AnalogFilter.h b/plugins/zynaddsubfx/src/DSP/AnalogFilter.h index aeca9f1a3..cd7efbc2d 100644 --- a/plugins/zynaddsubfx/src/DSP/AnalogFilter.h +++ b/plugins/zynaddsubfx/src/DSP/AnalogFilter.h @@ -71,7 +71,6 @@ class AnalogFilter:public Filter_ REALTYPE oldc[3], oldd[3]; //old coefficients(used only if some filter paremeters changes very fast, and it needs interpolation) - REALTYPE xd[3], yd[3]; //used if the filter is applied more times int needsinterpolation, firsttime; /**\todo see if bool works for these*/ int abovenq; //this is 1 if the frequency is above the nyquist int oldabovenq; //if the last time was above nyquist (used to see if it needs interpolation) diff --git a/plugins/zynaddsubfx/src/Effects/EffectLFO.h b/plugins/zynaddsubfx/src/Effects/EffectLFO.h index cc14d6652..cd54463a9 100644 --- a/plugins/zynaddsubfx/src/Effects/EffectLFO.h +++ b/plugins/zynaddsubfx/src/Effects/EffectLFO.h @@ -43,7 +43,6 @@ class EffectLFO REALTYPE xl, xr; REALTYPE incx; REALTYPE ampl1, ampl2, ampr1, ampr2; //necessary for "randomness" - REALTYPE lfointensity; REALTYPE lfornd; char lfotype; /**\todo GET RID OF CHAR (replace with short or enum)*/ }; diff --git a/plugins/zynaddsubfx/src/Effects/Reverb.h b/plugins/zynaddsubfx/src/Effects/Reverb.h index e84c56d88..a505a8fda 100644 --- a/plugins/zynaddsubfx/src/Effects/Reverb.h +++ b/plugins/zynaddsubfx/src/Effects/Reverb.h @@ -102,10 +102,10 @@ class Reverb:public Effect void setroomsize(unsigned char Proomsize); void setbandwidth(unsigned char Pbandwidth); - REALTYPE pan, erbalance; + REALTYPE pan; //Parameters int lohidamptype; /**<0=disable,1=highdamp(lowpass),2=lowdamp(highpass)*/ - int idelaylen, rdelaylen; + int idelaylen; int idelayk; REALTYPE lohifb, idelayfb, roomsize, rs; //rs is used to "normalise" the volume according to the roomsize int comblen[REV_COMBS * 2]; diff --git a/plugins/zynaddsubfx/src/UI/EffUI.fl b/plugins/zynaddsubfx/src/UI/EffUI.fl index 69ebac180..d82099c3e 100644 --- a/plugins/zynaddsubfx/src/UI/EffUI.fl +++ b/plugins/zynaddsubfx/src/UI/EffUI.fl @@ -148,7 +148,7 @@ return(20.0*pow((REALTYPE)1000.0,x));} {} code {if (freq<0.00001) freq=0.00001; return(log(freq/20.0)/log(1000.0));} {} } - decl {int oldx,oldy;} {} + decl {int oldx;} {} decl {REALTYPE khzval;} {public } decl {EffectMgr *eff;} {} diff --git a/plugins/zynaddsubfx/src/UI/EffUI.h b/plugins/zynaddsubfx/src/UI/EffUI.h index be2f5f4a8..92af395a9 100644 --- a/plugins/zynaddsubfx/src/UI/EffUI.h +++ b/plugins/zynaddsubfx/src/UI/EffUI.h @@ -24,7 +24,7 @@ public: REALTYPE getfreqx(REALTYPE x); REALTYPE getfreqpos(REALTYPE freq); private: - int oldx,oldy; + int oldx; public: REALTYPE khzval; private: diff --git a/plugins/zynaddsubfx/src/UI/EnvelopeUI.fl b/plugins/zynaddsubfx/src/UI/EnvelopeUI.fl index eef5ad643..3b49da3b5 100644 --- a/plugins/zynaddsubfx/src/UI/EnvelopeUI.fl +++ b/plugins/zynaddsubfx/src/UI/EnvelopeUI.fl @@ -189,7 +189,7 @@ return(1);} {} } decl {Fl_Box *pair;} {} decl {EnvelopeParams *env;} {} - decl {int oldx,oldy;} {} + decl {int oldx;} {} decl {int currentpoint,cpx,cpdt;} {} decl {int lastpoint;} {public } diff --git a/plugins/zynaddsubfx/src/UI/EnvelopeUI.h b/plugins/zynaddsubfx/src/UI/EnvelopeUI.h index 0450433b3..724745c57 100644 --- a/plugins/zynaddsubfx/src/UI/EnvelopeUI.h +++ b/plugins/zynaddsubfx/src/UI/EnvelopeUI.h @@ -29,7 +29,7 @@ public: private: Fl_Box *pair; EnvelopeParams *env; - int oldx,oldy; + int oldx; int currentpoint,cpx,cpdt; public: int lastpoint; diff --git a/plugins/zynaddsubfx/src/UI/FilterUI.fl b/plugins/zynaddsubfx/src/UI/FilterUI.fl index e2da82e12..298d1403d 100644 --- a/plugins/zynaddsubfx/src/UI/FilterUI.fl +++ b/plugins/zynaddsubfx/src/UI/FilterUI.fl @@ -144,7 +144,7 @@ for (i=1;iadd(tmp); - if ((val==-1)){ + if (val==-1){ if (klimits[k]>part->Pkeylimit) val=k; }; k++;