Mirror of Ardour Source Code
Find a file
Paul Davis 7948887382 TriggerBox: radically redesign handling of region changes by AudioTrigger
This now follows MIDITrigger - when a region's bounds are changed, we reload
the data corresponding to the region into memory, queue up a PendingSwap and
then have Trigger::check_edit_swap() switch to the new data when
necessary (synchronously with ::run).

This comment also removes AudioTrigger::_start_offset because there is never
any start offet - the data in memory is always precisely the data corresponding
to the region. If the region bounds are modified, we reload the correct data
into memory. This also applies to the recently added _user_data_length - again,
the data in memory always corresponds to the full span of the region/clip being
used in process context.

This differs a little from MIDITrigger, where we do in fact load the entire
source and maintain trigger-only bounds. That's because the amount of data for
MIDI is generally small, and so it makes more sense to just put it all in
memory and adjust which parts of it we use. For audio, the region could be
minutes (or hours!) into an audio source, and there's no point having all that
data in memory when we do not need it.

These changes now make editing clip boundaries in AudioClipEditor generally
functional, though some polishing is still in the works.
2025-11-30 11:07:42 -07:00
doc Replace git.ardour link with github 2025-08-08 23:36:32 +02:00
gtk2_ardour AudioTriggerPropertiesBox: set start/set length ops via clocks removed 2025-11-30 11:07:42 -07:00
headless Copy more mingw branches for MSVC 2025-10-22 18:48:40 +02:00
libs TriggerBox: radically redesign handling of region changes by AudioTrigger 2025-11-30 11:07:42 -07:00
luasession Statically link luasession against libreadline 2025-11-21 13:36:36 +01:00
msvc_extra_headers Update 'targetsxs.h.input' for EZ4Stephen, who's trying to build with MSVC:- 2025-10-24 09:38:43 +01:00
MSVCardour3 remove all trace of cursor stacks; canvas cursor is always "just set" 2024-12-08 12:13:41 -07:00
MSVCMixbus3
MSVCvst_scan
session_utils Copy more mingw branches for MSVC 2025-10-22 18:48:40 +02:00
share Fix typos 2025-11-27 12:22:45 -05:00
tools Revert "macOS: allow Ardour to load unsigned plugins" 2025-08-10 17:41:28 +02:00
.dir-locals.el
.gitattributes
.gitignore Ignore files generated by macOS packaging 2024-07-23 17:01:16 +02:00
ardour.1
COPYING add plugin clarification to COPYING 2023-04-26 13:28:29 -06:00
nutempo-todo
PACKAGER_README
README
README-GITHUB.txt
system_config
TRANSLATORS Update translation howto 2023-09-24 19:58:25 +02:00
waf upgrade waf to 2.0.26 (includes new autowaf.py version) 2023-09-23 12:09:52 -06:00
wscript Revert "We still need libregex for libardour (for now)" 2025-11-11 19:04:35 +01:00

Please see the Ardour web site at https://ardour.org/ for all documentation..

For information on building ardour: 
      
     https://ardour.org/development.html