0504db2a67f0b23f7840ac0137b095c8c45b214b
This is the first step to fix various MIDI edit issues for sessions with tempo-changes. The old code, using .earlier returned an absolute position when calculating a relative distance. This is only valid if the session has a fixed tempo, and the origin is irrelevant when converting the timepos. This resulted in follow up issues since there is a difference when summing two positions (each with an origin) vs adding an offset to a position. Note: this API changes breaks compilation until the GUI is updated.
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%