From f87b5dd23e8fd3cb32c1c8e1859e805037241412 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 15 May 2012 12:15:14 +0000 Subject: don't distort xfades when changing their length substantially git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12287 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/automation_event.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/ardour/automation_event.cc b/libs/ardour/automation_event.cc index 065a6b909b..ed23ad70f3 100644 --- a/libs/ardour/automation_event.cc +++ b/libs/ardour/automation_event.cc @@ -309,7 +309,7 @@ AutomationList::extend_to (double when) void AutomationList::_x_scale (double factor) { for (AutomationList::iterator i = events.begin(); i != events.end(); ++i) { - (*i)->when = floor ((*i)->when * factor); + (*i)->when *= factor; } mark_dirty (); -- cgit v1.2.3