projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Can't call the wrong function when there's only one of them: remove ARDOUR::Parameter...
[ardour.git]
/
gtk2_ardour
/
curvetest.cc
diff --git
a/gtk2_ardour/curvetest.cc
b/gtk2_ardour/curvetest.cc
index 71f0600f32dd22fa301d62f459cf683c970b49c1..15195ff2a57f7594a453c724b945190b453f8162 100644
(file)
--- a/
gtk2_ardour/curvetest.cc
+++ b/
gtk2_ardour/curvetest.cc
@@
-22,7
+22,8
@@
#include <cfloat>
#include <unistd.h>
#include <cfloat>
#include <unistd.h>
-#include <ardour/curve.h>
+#include <ardour/automation_list.h>
+#include <evoral/Curve.hpp>
using namespace std;
using namespace ARDOUR;
using namespace std;
using namespace ARDOUR;
@@
-33,7
+34,9
@@
curvetest (string filename)
{
ifstream in (filename.c_str());
stringstream line;
{
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;
double minx = DBL_MAX;
double maxx = DBL_MIN;