176c41a485ee279fef703631fda88b8ba067fb44
Region-gain (unlike other automation) is specific to the region and independent of the source. Region::start() offset does not apply. When region-start is trimmed the region's envelope is modified (not just offset). The event-list is truncated. Any audio-region envelope does (and must) have a point exactly at the start and end of the region. truncate_start() can thus calculate the earliest position of valid events with the new length relative to the last event. The mathematical operator for that is subtraction, not distance.
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%