First part of consolidating ::roll(), ::no_roll()
[ardour.git] / libs / ardour / ardour / interpolation.h
index 64b0431e0f73d53c309f7d05d672372d713f46c5..4b6a66d54b729ce53c74a97d62b681deebdfa691 100644 (file)
@@ -60,12 +60,19 @@ public:
 
 class LIBARDOUR_API LinearInterpolation : public Interpolation {
 public:
-       framecnt_t interpolate (int channel, framecnt_t nframes, Sample* input, Sample* output);
+       samplecnt_t interpolate (int channel, samplecnt_t nframes, Sample* input, Sample* output);
 };
 
 class LIBARDOUR_API CubicInterpolation : public Interpolation {
 public:
-       framecnt_t interpolate (int channel, framecnt_t nframes, Sample* input, Sample* output);
+       samplecnt_t interpolate (int channel, samplecnt_t nframes, Sample* input, Sample* output);
+};
+
+class BufferSet;
+
+class LIBARDOUR_API CubicMidiInterpolation : public Interpolation {
+public:
+       samplecnt_t distance (samplecnt_t nframes, bool roll = true);
 };
 
 } // namespace ARDOUR