summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-04-26 16:21:39 +0200
committerRobin Gareus <robin@gareus.org>2017-04-26 23:37:27 +0200
commit0b5db91ee91afbd61a3ab11cb99796132f1b74b9 (patch)
tree6771f6e96b0c5fe961c3117c90d52090006906f0 /libs/evoral/evoral
parent8bb26628e392429c8a868af3d92cb79ee52a0fc7 (diff)
AutomationLine time-unit conversion and paste API update
This fixes copy/paste of MIDI automation (time-unit: beat) from/to Parameter automation (time-unit: samples). It also fixes repeatedly pasting with tempo-ramps: pre-multiply length before converting to samples.
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r--libs/evoral/evoral/ControlList.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index 8e72c21c48..b58c186c21 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -172,7 +172,7 @@ public:
*/
void clear (double start, double end);
- bool paste (const ControlList&, double position, float times);
+ bool paste (const ControlList&, double position);
void set_yrange (double min, double max) {
_min_yval = min;