aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdaThruZero.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-11 18:05:56 +0000
committerDavid Robillard <d@drobilla.net>2011-06-11 18:05:56 +0000
commitf3a9e1089b5b01556e051463ecd3e273a75df6fa (patch)
treee62cbce3193de2588386fa75391fa7bca4ea851a /src/mdaThruZero.cpp
parent91f3726a4cf7e009646a5351c9551c2b6c6e9d10 (diff)
downloadmda.lv2-f3a9e1089b5b01556e051463ecd3e273a75df6fa.tar.gz
mda.lv2-f3a9e1089b5b01556e051463ecd3e273a75df6fa.tar.bz2
mda.lv2-f3a9e1089b5b01556e051463ecd3e273a75df6fa.zip
Remove dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3385 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/mdaThruZero.cpp')
-rw-r--r--src/mdaThruZero.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mdaThruZero.cpp b/src/mdaThruZero.cpp
index df2fff5..a35685f 100644
--- a/src/mdaThruZero.cpp
+++ b/src/mdaThruZero.cpp
@@ -219,7 +219,7 @@ void mdaThruZero::processReplacing(float **inputs, float **outputs, LvzInt32 sam
float a, b, f=fb, f1=fb1, f2=fb2, ph=phi;
float ra=rat, de=dep, we=wet, dr=dry, ds=deps, dm=dem;
LvzInt32 tmp, tmpi, bp=bufpos;
- float tmpf, dpt;
+ float tmpf;
--in1;
--in2;
@@ -238,7 +238,7 @@ void mdaThruZero::processReplacing(float **inputs, float **outputs, LvzInt32 sam
*(buffer2 + bp) = b + f * f2;
//ds = 0.995f * (ds - de) + de; //smoothed depth change ...try inc not mult
- dpt = tmpf = dm + de * (1.0f - ph * ph); //delay mod shape
+ tmpf = dm + de * (1.0f - ph * ph); //delay mod shape
tmp = int(tmpf);
tmpf -= tmp;
tmp = (tmp + bp) & 0x7FF;