Don't round control list events when x-scaling them; prevents large loss of accuracy with xfades when they are scaled to be small and then expanded again (#4602).
git-svn-id: svn://localhost/ardour2/branches/3.0@11125 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
54ff6901a9
commit
9c8a27c664
@ -211,7 +211,7 @@ void
|
||||
ControlList::_x_scale (double factor)
|
||||
{
|
||||
for (iterator i = _events.begin(); i != _events.end(); ++i) {
|
||||
(*i)->when = floor ((*i)->when * factor);
|
||||
(*i)->when *= factor;
|
||||
}
|
||||
|
||||
mark_dirty ();
|
||||
|
Loading…
Reference in New Issue
Block a user