From a473d630eb165272992e90f8d854b1d66ec0be63 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 1 Jun 2011 16:50:12 +0000 Subject: Fix broken whitespace. I'd apologize for the compile times if it was my fault :D git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/interpolation.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/ardour/interpolation.cc') diff --git a/libs/ardour/interpolation.cc b/libs/ardour/interpolation.cc index 7dcc1b7ccb..20ab584885 100644 --- a/libs/ardour/interpolation.cc +++ b/libs/ardour/interpolation.cc @@ -73,13 +73,13 @@ CubicInterpolation::interpolate (int channel, framecnt_t nframes, Sample *input, } /* keep this condition out of the inner loop */ - + if (input && output) { Sample inm1; - + if (floor (distance) == 0.0) { - /* best guess for the fake point we have to add to be able to interpolate at i == 0: + /* best guess for the fake point we have to add to be able to interpolate at i == 0: .... maintain slope of first actual segment ... */ inm1 = input[i] - (input[i+1] - input[i]); @@ -106,7 +106,7 @@ CubicInterpolation::interpolate (int channel, framecnt_t nframes, Sample *input, if (fractional_phase_part >= 1.0) { fractional_phase_part -= 1.0; ++i; - } + } // Cubically interpolate into the output buffer: keep this inlined for speed and rely on compiler // optimization to take care of the rest -- cgit v1.2.3