meet rhythm ferret: cute, furry and always on time (ardour build now requires fftw3...
[ardour.git] / libs / ardour / ardour / curve.h
index 7ba6b5fa6c4438f02ff9ac40793879233dabd2b2..5b725f47208f73f51f6478a3a0fa974237926088 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_curve_h__
@@ -51,9 +50,10 @@ class Curve : public AutomationList
        ~Curve ();
        Curve (const Curve& other);
        Curve (const Curve& other, double start, double end);
+       Curve (const XMLNode&);
 
-       bool rt_safe_get_vector (double x0, double x1, float *arg, int32_t veclen);
-       void get_vector (double x0, double x1, float *arg, int32_t veclen);
+       bool rt_safe_get_vector (double x0, double x1, float *arg, int64_t veclen);
+       void get_vector (double x0, double x1, float *arg, int64_t veclen);
 
        AutomationEventList::iterator closest_control_point_before (double xval);
        AutomationEventList::iterator closest_control_point_after (double xval);
@@ -66,22 +66,20 @@ class Curve : public AutomationList
        ControlEvent* point_factory (double,double) const;
        ControlEvent* point_factory (const ControlEvent&) const;
 
-       Change   restore_state (StateManager::State&);
-
   private:
        AutomationList::iterator last_bound;
 
        double unlocked_eval (double where);
        double multipoint_eval (double x);
 
-       void _get_vector (double x0, double x1, float *arg, int32_t veclen);
+       void _get_vector (double x0, double x1, float *arg, int64_t veclen);
 
 };
 
 } // namespace ARDOUR
 
 extern "C" {
-       void curve_get_vector_from_c (void *arg, double, double, float*, int32_t);
+       void curve_get_vector_from_c (void *arg, double, double, float*, int64_t);
 }
 
 #endif /* __ardour_curve_h__ */