#include <cfloat>
#include <unistd.h>
-#include <ardour/curve.h>
+#include <ardour/automation_list.h>
+#include <evoral/Curve.hpp>
using namespace std;
using namespace ARDOUR;
{
ifstream in (filename.c_str());
stringstream line;
- AutomationList al (ParamID(), -1.0, +1.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;