const bool METHOD() const makes no sense
[ardour.git] / libs / ardour / ardour / interpolation.h
index a4a332c8a2781c541dc4485dc05ceb4e5e8facb0..3c661d859201586682ddd3e6480ad35c6ca8d053 100644 (file)
@@ -20,6 +20,7 @@
 #include <math.h>
 #include <samplerate.h>
 
+#include "ardour/libardour_visibility.h"
 #include "ardour/types.h"
 
 #ifndef __interpolation_h__
@@ -27,7 +28,7 @@
 
 namespace ARDOUR {
 
-class Interpolation {
+class LIBARDOUR_API Interpolation {
 protected:
        double _speed;
        double _target_speed;
@@ -57,16 +58,23 @@ public:
        }
 };
 
-class LinearInterpolation : public Interpolation {
+class LIBARDOUR_API LinearInterpolation : public Interpolation {
 public:
        framecnt_t interpolate (int channel, framecnt_t nframes, Sample* input, Sample* output);
 };
 
-class CubicInterpolation : public Interpolation {
+class LIBARDOUR_API CubicInterpolation : public Interpolation {
 public:
        framecnt_t interpolate (int channel, framecnt_t nframes, Sample* input, Sample* output);
 };
 
+class BufferSet;
+
+class LIBARDOUR_API CubicMidiInterpolation : public Interpolation {
+public:
+       framecnt_t distance (framecnt_t nframes, bool roll = true);
+};
+
 } // namespace ARDOUR
 
 #endif