mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
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.
This commit is contained in:
parent
8bb26628e3
commit
0b5db91ee9
6 changed files with 61 additions and 9 deletions
|
|
@ -1652,7 +1652,7 @@ ControlList::clear (double start, double end)
|
|||
|
||||
/** @param pos Position in model coordinates */
|
||||
bool
|
||||
ControlList::paste (const ControlList& alist, double pos, float /*times*/)
|
||||
ControlList::paste (const ControlList& alist, double pos)
|
||||
{
|
||||
if (alist._events.empty()) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue