Can't call the wrong function when there's only one of them: remove ARDOUR::Parameter...
[ardour.git] / gtk2_ardour / curvetest.cc
index ec552848d24138f6a1c78399d9a44720525f3bb1..15195ff2a57f7594a453c724b945190b453f8162 100644 (file)
@@ -22,7 +22,8 @@
 #include <cfloat>
 #include <unistd.h>
 
-#include <ardour/curve.h>
+#include <ardour/automation_list.h>
+#include <evoral/Curve.hpp>
 
 using namespace std;
 using namespace ARDOUR;
@@ -33,7 +34,8 @@ curvetest (string filename)
 {
        ifstream in (filename.c_str());
        stringstream line;
-       Parameter param(GainAutomation, -1.0, +1.0, 0.0);
+       //Evoral::Parameter param(GainAutomation, -1.0, +1.0, 0.0);
+       Evoral::Parameter param(GainAutomation);
        AutomationList al (param);
        double minx = DBL_MAX;
        double maxx = DBL_MIN;