diff options
author | David Robillard <d@drobilla.net> | 2011-06-01 16:50:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-01 16:50:12 +0000 |
commit | a473d630eb165272992e90f8d854b1d66ec0be63 (patch) | |
tree | d0d027d4e53cb3883f4098c4736651d0ae89c19a /libs/ardour/interpolation.cc | |
parent | a46cea06e29bfdb18e0199a665caf5a34d388968 (diff) |
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
Diffstat (limited to 'libs/ardour/interpolation.cc')
-rw-r--r-- | libs/ardour/interpolation.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 |