From d7bd270aa10b3a8669223debe4c1b572ae876e2b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 Jun 2007 15:51:50 +0000 Subject: Big ol' automation refactor. Things with automation parameters now inherit from Automatable, which handles serialization, fetching/adding/removing parameters, etc. Use AutomationList everywhere instead of Curve, make Curve a member of AutomationList instead (towards other types of "Curve" needed for CC, among other things). Work towards MIDI CC sending "automation" tracks. git-svn-id: svn://localhost/ardour2/trunk@2069 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/region_gain_line.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/region_gain_line.cc') diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc index e935d3adc2..25ba903ca8 100644 --- a/gtk2_ardour/region_gain_line.cc +++ b/gtk2_ardour/region_gain_line.cc @@ -38,8 +38,8 @@ using namespace std; using namespace ARDOUR; using namespace PBD; -AudioRegionGainLine::AudioRegionGainLine (const string & name, Session& s, AudioRegionView& r, ArdourCanvas::Group& parent, Curve& c) - : AutomationLine (name, r.get_time_axis_view(), parent, c), +AudioRegionGainLine::AudioRegionGainLine (const string & name, Session& s, AudioRegionView& r, ArdourCanvas::Group& parent, AutomationList& l) + : AutomationLine (name, r.get_time_axis_view(), parent, l), session (s), rv (r) { -- cgit v1.2.3