ardour/libs
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
..
aaf libAAF update for NetBSD (#9886) 2025-02-01 11:30:14 +01:00
appleutility wscript: the i18n worker functions do not define the i18n waf commands 2024-10-20 19:52:14 -06:00
ardour TriggerBox: radically redesign handling of region changes by AudioTrigger 2025-11-30 11:07:42 -07:00
ardouralsautil Correctly detect localtime_r 2025-05-18 20:08:27 +02:00
audiographer Remove deprecated no-op function (1/2) 2025-11-20 23:10:52 +01:00
auscan
backends Fix PortAudio with MSYS 2025-11-20 18:35:28 -06:00
canvas auto-ify a loop in the canvas ruler rendering code 2025-09-02 11:10:11 -06:00
clearlooks-newer Clearlooks: don't hardcode define HAVE_UNISTD_H 2025-11-25 16:17:36 +01:00
ctrl-interface move zoom in/out actions into shared "Editing" group 2024-12-07 08:00:46 -07:00
evoral Evoral::Event show event address in operator<< 2025-11-24 21:51:23 -07:00
fluidsynth
fst Fix/amend previous commit 2025-10-22 19:34:48 +02:00
gtkmm2ext gtkmm2ext: use default window position in gtkmm2ext 2025-11-18 13:33:58 -07:00
hidapi Fix/amend previous commit 2025-10-22 19:34:48 +02:00
libltc
lua Fix adding C++ class instances to Lua STL containers 2025-11-09 03:48:39 +01:00
midi++2 Clean out more unconditional, unnecessary unistd.h 2025-11-28 12:15:54 +01:00
panners Reduce reliance on boost - the hard part 2024-10-19 03:47:21 +02:00
pbd Remove deprecated no-op function (1/2) 2025-11-20 23:10:52 +01:00
plugins ACE fluidsynth: unload soundfonts after use, refill channels #9837 2024-11-03 19:22:30 +01:00
ptformat
qm-dsp One more MSVC related fix.. 2025-10-22 18:26:08 +02:00
staffpad Fix StaffPad compilation/linking with gcc-15.2 2025-10-11 23:34:27 +02:00
surfaces OSC: use namespaces and deletion to avoid conflicts over LocationMarker type 2025-11-25 17:59:20 -07:00
temporal Remove deprecated no-op function (1/2) 2025-11-20 23:10:52 +01:00
tk Change to ytk wscript, to work slightly better with MSVC 2025-11-14 00:21:11 +01:00
vamp-plugins
vamp-pyin Remove unneeded #include <boost/math/distributions.hpp> 2024-08-29 23:08:42 +02:00
vfork Copy more mingw branches for MSVC 2025-10-22 18:48:40 +02:00
vst3 use C++11 for VST3 SDK (revert custom cxx98 patch) 2025-02-25 12:46:16 +01:00
waveview Use PBD namespace for free CPU functions 2025-08-15 22:10:31 +02:00
widgets move UIConfigurationBase from libs/widgets to libs/gtkmm2ext 2025-11-18 13:08:45 -07:00
zita-convolver Make header files more self-contained - add missing Ardour and lib includes 2024-10-20 03:30:46 +02:00
zita-resampler