projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ff690
)
Don't round control list events when x-scaling them; prevents large loss of accuracy...
author
Carl Hetherington
<carl@carlh.net>
Sat, 31 Dec 2011 13:25:29 +0000
(13:25 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Sat, 31 Dec 2011 13:25:29 +0000
(13:25 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11125
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/evoral/src/ControlList.cpp
patch
|
blob
|
history
diff --git
a/libs/evoral/src/ControlList.cpp
b/libs/evoral/src/ControlList.cpp
index d3532eaefe26e3986c5da86ea5dd7a6636c48d8c..c31bd3421d4dc14a9ff8339779b474f328ea597e 100644
(file)
--- a/
libs/evoral/src/ControlList.cpp
+++ b/
libs/evoral/src/ControlList.cpp
@@
-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 ();