summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_gain_line.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-16 23:32:59 +0000
committerDavid Robillard <d@drobilla.net>2009-02-16 23:32:59 +0000
commit3e1eb6bcbd1bf5b9f3bfb64d8b9a5ad68c01368c (patch)
tree692ec9539da314cd42a2692231deaaeb36aa1720 /gtk2_ardour/region_gain_line.cc
parent87c7b621035d0f3e9bbf613b54709470d6ee7ca5 (diff)
Fix crash on audio record (time converter segfault wackiness).
git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_gain_line.cc')
-rw-r--r--gtk2_ardour/region_gain_line.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc
index 1bc4762eed..86ebe7a465 100644
--- a/gtk2_ardour/region_gain_line.cc
+++ b/gtk2_ardour/region_gain_line.cc
@@ -30,19 +30,16 @@
#include <ardour/session.h>
-
#include "i18n.h"
-
using namespace std;
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,
- Evoral::IdentityConverter<double, nframes_t>()),
- session (s),
- rv (r)
+ : AutomationLine (name, r.get_time_axis_view(), parent, l)
+ , session (s)
+ , rv (r)
{
// If this isn't true something is horribly wrong, and we'll get catastrophic gain values
assert(l->parameter().type() == EnvelopeAutomation);