13
0
Commit Graph

21198 Commits

Author SHA1 Message Date
2137672fde L: always reassign track numbers when adding tracks
While presentation info order information is restored from XML state,
track numbers are not, so make sure we setup track numbering during
loading (based on PI order info)
2024-05-21 07:26:09 -06:00
dd149054b6
Merge branch 'ardour' 2024-05-20 23:33:17 +02:00
8ad53bc96c
Load LiveTrax sessions w/DirectOuts sends
We simply ignore the direct out sends from trax.

Note `DEFINE_ENUM_CONVERT` for Role is defined in delivery.cc
so we need a static method to directly read the send's role.
2024-05-20 23:16:19 +02:00
199fc6fd14
Merge branch 'ardour' 2024-05-20 22:02:53 +02:00
7bfd128a75
Downgrade warning (about I/O priority) 2024-05-20 21:56:24 +02:00
e34359b921
VST3: skip context info callbacks during session load
This fixes a crash when SSL's channelstrip calls set-selection
early on during session load, during Session::load_routes.

Session::add_routes_inner calls calls ARDOUR::GUIIdle() which
can trigger a SSL Native Channel Strip 2" VST3 to call
VST3PI::setContextInfoValue, which in turn emits a
CoreSelection::send_selection_change before the session is
fully loaded.

This also handles various edge cases where a given AC may
not [yet] exist.
2024-05-20 19:31:31 +02:00
89bb21c1ba
T: only load LiveTrax sessions
This is rather crude; ideally the check would also test
for plugins, or settings which must not be present in a
LiveTrax session.
2024-05-20 18:29:31 +02:00
0b6e68869f
T: fix deadlock when adding tracks
For livetrax, ::add_routes_inner calls ::reassign_track_numbers,
which in turn calls ::livetrax_queue_auto_connect.

This can result in a deadlock:

 * GUI thread, ::add_routes_inner holds the process-lock
   and ::livetrax_queue_auto_connect requests the `_auto_connect_queue_lock`

 * auto-connect thread first takes the `_auto_connect_queue_lock and then
   requests the process-lock
2024-05-18 16:25:04 +02:00
c7da560052
Merge branch 'ardour' 2024-05-18 01:47:03 +02:00
4ec86a2657
Add API to query Fader orientation 2024-05-18 01:42:44 +02:00
cb132cc50e manually fix merge errors for ardour->livetrax 2024-05-17 12:26:07 -06:00
7c94140feb
L: change default meter type to 0dBFS 2024-05-17 18:06:02 +02:00
cd2db2c3aa
NO-OP: whitespace 2024-05-17 17:25:45 +02:00
5f52329bed
Update mixer and lock icon 2024-05-17 17:25:41 +02:00
fc194237eb Locations::clear_ranges() now removes punch & loop ranges 2024-05-17 09:05:27 -06:00
c2e01bc636
Merge branch 'ardour' 2024-05-16 00:52:37 +02:00
6a081375ca follow to 103dd00357441, continuing to refine/fix signal flow for livetrax 2024-05-15 16:11:32 -06:00
70a86561e7 NO-OP: this comment was useful to me today 2024-05-15 16:11:32 -06:00
5ee2e8d500 L: default mute-affects-pre-fader should be false for LiveTrax 2024-05-15 16:11:32 -06:00
9f008f80eb NO-OP: reflow split line 2024-05-15 16:11:32 -06:00
c8797bdd5c livetrax signal flow redesign
Rather than a send to the master outs, and the _main_outs delivery to physical outputs,
we now use a send to the physical outs and _main_outs to Master (as in mainline ardour)
2024-05-15 16:11:32 -06:00
9d046af47a Update Lua allocator for sessions scripts
* increase memory pool (bindings alone require 1.5 MB), and all session
  scripts have a shared memory pool.
* use TLSF (like Lua DSP processors) - this fixes an issue with atomics
  (notably int62_t, temporal) on macOS and ARM, which need to be
  aligned.
2024-05-15 20:18:21 +02:00
1f0ee56726
Fix Lua Session scripts (amend df12126909) 2024-05-15 17:33:59 +02:00
b3a2745227
Merge branch 'ardour' 2024-05-15 17:03:28 +02:00
b3df8ea6ef
Expose UI config fonts to libwidgets
Currently this is only for the benefit of derivative projects.
2024-05-15 17:02:35 +02:00
bef4215d6e
Merge branch 'ardour' 2024-05-15 03:35:47 +02:00
0bac1e07f5
There is no TraxLive here (amend a0e2749) 2024-05-15 03:35:23 +02:00
60d9c6911e
Merge branch 'ardour' 2024-05-15 03:00:14 +02:00
a0e27495c6
Abstract base class for ArdourFader
This allows derivative projects to use other fader
render implementations.
2024-05-15 02:41:37 +02:00
b1f4ef85c2
Merge branch 'ardour' 2024-05-14 20:36:58 +02:00
86c3b70c54 add some utility functions to Buffers and BufferSets to allow some kinds of debugging easily 2024-05-14 12:25:58 -06:00
662c47651a
Merge branch 'ardour' 2024-05-14 03:48:30 +02:00
e75ad3399e
Fix BBT marker calculation when removing time 2024-05-14 03:20:04 +02:00
aa55bf35eb
Catch issues with invalid region vs. source length
e.g. the session from
https://tracker.ardour.org/view.php?id=9704#c28732
2024-05-14 02:12:45 +02:00
df65989cae
Merge branch 'ardour' 2024-05-13 21:55:50 +02:00
68d3be8918
Support querying disk space for disks > 16TB
under the hood `fsblkcnt_t` is used.
2024-05-13 21:32:10 +02:00
b1bcb7f9fc activate Delivery amp if used 2024-05-11 08:38:30 -06:00
10d371333d
Merge branch 'ardour' 2024-05-11 09:50:59 +02:00
ca551ed07a add the correct control to a ControlGroup when adding a Route to a RouteGroup 2024-05-10 17:37:34 -06:00
1f262d83ee send gain control for MasterSend must use GainAutomation parameter to be groupable
ControlGroups don't admit controls with a different parameter type, and a RouteGroup's
_gain_group uses GainAutomation as its parameter type.
2024-05-10 17:37:34 -06:00
857ef78417 second application of 41c68ffc19
This is reapplied to allow us to remain in sync with ardour/master more easily
2024-05-10 17:37:34 -06:00
9f98b4ab4e second application of f9a76829f3 after revert in ardour/master
This is reapplied to allow us to remain in sync with ardour/master more easily
2024-05-10 17:37:34 -06:00
0b73ff4daf Revert "ensure that the master send is directly before the main outs."
MasterSends are not (currently) part of Ardour.

This reverts commit dcdcaf4b47.
2024-05-10 17:37:34 -06:00
d931a2d83e Revert "fix for metering of a MasterSend (internal send)"
MasterSends are not (currently) part of Ardour.

This reverts commit de1a425704.
2024-05-10 17:37:34 -06:00
2f32a22a4d Revert "ensure that the master send is directly before the main outs."
MasterSends are not (currently) part of Ardour.

This reverts commit dcdcaf4b47.
2024-05-10 15:16:13 -06:00
384739aa80 Revert "fix for metering of a MasterSend (internal send)"
MasterSends are not (currently) part of Ardour.

This reverts commit de1a425704.
2024-05-10 15:15:32 -06:00
5f0c2a4d32 Merge branch 'ardour' 2024-05-10 08:37:13 -06:00
41c68ffc19 ensure that the master send is directly before the main outs. 2024-05-10 08:37:09 -06:00
f9a76829f3 fix for metering of a MasterSend (internal send)
Metering for these sends should be effectively PostFader not Output,
and should not reflect the impact of solo & mute.
2024-05-10 08:37:09 -06:00
21f4dce2d9 for DEBUG::Processors, use display_name() not name()
This allows us to differentiate between different instances of the same
type of processor (e.g. Trim vs Fader, which are both of type Amp)
2024-05-10 08:37:09 -06:00