fix some (all? not likely) problems with dragging close to 2^32-1 frames
[ardour.git] / libs / ardour / ardour / curve.h
index dd63439f08500db8dde2521f6df6fc3e48442984..5b725f47208f73f51f6478a3a0fa974237926088 100644 (file)
@@ -52,8 +52,8 @@ class Curve : public AutomationList
        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);
@@ -72,14 +72,14 @@ class Curve : public AutomationList
        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__ */