summaryrefslogtreecommitdiff
path: root/gtk2_ardour/curvetest.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-19 00:47:49 +0000
committerDavid Robillard <d@drobilla.net>2008-09-19 00:47:49 +0000
commitd357eca668044badcb4bab318e2e74cfffa9a0b0 (patch)
treeeab9bf33b194f9e37c20f84375e5caa748ee994a /gtk2_ardour/curvetest.cc
parent3d976c5b727e4d55ce439b1d7c055a814477fa1a (diff)
Factor out sequencing related things into an independant new library: "evoral".
Anything related to the storage of events/values over a range of time lives in evoral. This includes MidiModel (Evoral::Sequence) and automation data (AutomationList (Evoral::ControlList), Automatable (Evoral::ControlSet), etc). libs/evoral synced with http://svn.drobilla.net/lad/trunk/evoral r1511. git-svn-id: svn://localhost/ardour2/branches/3.0@3754 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/curvetest.cc')
-rw-r--r--gtk2_ardour/curvetest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/curvetest.cc b/gtk2_ardour/curvetest.cc
index 48650c0353..ec552848d2 100644
--- a/gtk2_ardour/curvetest.cc
+++ b/gtk2_ardour/curvetest.cc
@@ -33,7 +33,8 @@ curvetest (string filename)
{
ifstream in (filename.c_str());
stringstream line;
- AutomationList al (Parameter(), -1.0, +1.0, 0);
+ Parameter param(GainAutomation, -1.0, +1.0, 0.0);
+ AutomationList al (param);
double minx = DBL_MAX;
double maxx = DBL_MIN;