summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_gain_line.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-16 04:46:45 +0000
committerDavid Robillard <d@drobilla.net>2009-02-16 04:46:45 +0000
commit5f7b4de02414f00c98ede60db0dc1dddbbe051ae (patch)
treebb363e48024603462eacbefc5badb958bee1712a /gtk2_ardour/region_gain_line.cc
parent0ef53a2d343da1b926df96550a426ed800ff479e (diff)
Time unit translation for AutomationLine (correctly display MIDI controller data).
git-svn-id: svn://localhost/ardour2/branches/3.0@4597 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_gain_line.cc')
-rw-r--r--gtk2_ardour/region_gain_line.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc
index 2528e350fc..1bc4762eed 100644
--- a/gtk2_ardour/region_gain_line.cc
+++ b/gtk2_ardour/region_gain_line.cc
@@ -39,7 +39,8 @@ using namespace ARDOUR;
using namespace PBD;
AudioRegionGainLine::AudioRegionGainLine (const string & name, Session& s, AudioRegionView& r, ArdourCanvas::Group& parent, boost::shared_ptr<AutomationList> l)
- : AutomationLine (name, r.get_time_axis_view(), parent, l),
+ : AutomationLine (name, r.get_time_axis_view(), parent, l,
+ Evoral::IdentityConverter<double, nframes_t>()),
session (s),
rv (r)
{