diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-15 12:15:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-15 12:15:14 +0000 |
commit | f87b5dd23e8fd3cb32c1c8e1859e805037241412 (patch) | |
tree | 856071b582a2af925cfd495fe414ecb8a8fb3f9e /libs | |
parent | 1f20953704c41423c156a80ad0cd9621bde2add3 (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/automation_event.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 (); |