ensure that imported regions have names based on the files they are based on
[ardour.git] / libs / ardour / interpolation.cc
index 47e3642bf338d69dbd4644d2434e4a8c79e29f28..1393d8aae81e659c1e4c87b9954307e44c5ce8b3 100644 (file)
@@ -117,6 +117,7 @@ CubicInterpolation::interpolate (int channel, nframes_t nframes, Sample *input,
                                                                fractional_phase_part * (3.0f * (input[i] - input[i+1]) - inm1 + input[i+2])));
 
                    distance += _speed + acceleration;
+                   inm1 = input[i];
            }
 
     } else {