g
6e6511b028
ardour.desktop.in add NSM related keys
2024-10-11 14:35:07 +02:00
Robin Gareus
0aff098541
Fix IO Thread priority
...
This adds `pbd_pthread_priority` indirection to correctly get
the absolute thread priority.
and for consistency a 4 letter enum is used.
2024-10-11 10:06:49 +02:00
Robin Gareus
5efa5b4529
Optimize audio region read when no regionFX are used
2024-10-10 02:45:03 +02:00
Paul Davis
43dd75b10e
invalidate audio region cache when the region _start changes
2024-10-09 16:53:55 -06:00
Robin Gareus
14ff2f2e68
Revert "Only enable RegionFX in debug builds for the time being"
...
This reverts commit cae710cd7c .
2024-10-09 20:49:36 +02:00
Paul Davis
2a96c9ce98
fix issues with MIDI playback (and who knows what else) near start of roll
2024-10-08 08:36:23 -06:00
Robin Gareus
cae710cd7c
Only enable RegionFX in debug builds for the time being
2024-10-08 16:23:43 +02:00
Robin Gareus
4b83915335
Prefer bundled python for windows/gdb
2024-10-08 13:03:49 +02:00
Robin Gareus
902ecef797
Fix typo
2024-10-08 12:50:19 +02:00
Robin Gareus
59e98bd824
Fix reading peak-file after EOF
...
This issue was introduced in b28090c64c
2024-10-08 11:54:14 +02:00
Robin Gareus
33806a2735
Revert "Only enable RegionFX in debug builds for the time being"
...
This reverts commit 2d076cccb1 .
2024-10-03 17:28:09 +02:00
Paul Davis
e3e014bfe6
NO-OP: comment work
2024-10-02 11:03:08 -06:00
Paul Davis
52336eb2f0
fix MIDI Clock output times by using the correct call to get tempo at a position
...
Could be worth a double check of the codebase/hiding the API that ignores ramping
2024-10-02 09:13:28 -06:00
Robin Gareus
adc9d9e0af
VST3: work around plugins that do not heed ContextInfo::kSendCount
...
see also c5618f01d6
2024-10-01 23:03:19 +02:00
John Emmas
07c79ce92c
Small changes to make pthread_utils.cc buildable again with MSVC
2024-10-01 20:28:16 +01:00
Robin Gareus
44b2377e72
VST3: Fix possible deadlock when using PSL extension for sends
...
see also c5618f01d6
2024-10-01 19:24:36 +02:00
Robin Gareus
4fc4a2ca09
Pick a sane default for "insert time"
2024-10-01 05:48:49 +02:00
Robin Gareus
ca7ac7027b
VST3: add more debug messages for PSL extensions
2024-10-01 01:21:35 +02:00
Robin Gareus
22a2cb0624
Ignore inactive routes for pre-roll sub-cycles
2024-09-30 23:36:36 +02:00
Robin Gareus
1aad6805b3
Fix count-in/preroll recording offsets
...
Notably `Route::process_output_buffers` uses
```
output_latency = speed * _output_latency;
```
here, speed already needs to be non-zero during count-in
and pre-roll.
2024-09-30 23:36:06 +02:00
Robin Gareus
dab22a7c70
Explicitly set Windows Process Scheduling Class
2024-09-30 19:57:53 +02:00
Robin Gareus
ed437afda7
Fix thread priorities for Windows builds
2024-09-30 19:07:53 +02:00
Robin Gareus
11f71a3297
Fix playback of sessions with low sample-rate
...
previously, _chunksize =
```
minimum_disk_read_bytes / sizeof (Sample)
```
can become larger then actual allocated ringbuffer:
```
audio_playback_buffer_seconds * sample-rate
```
In which case the buffer was never filled.
The disk writer has similar issues
2024-09-29 18:25:33 +02:00
Robin Gareus
d60e0e7ade
Fix sample-rate display rounding for 22.05kHz
...
Thanks to Colin Fletcher
2024-09-29 18:07:59 +02:00
Robin Gareus
c6ef4c3545
Fix interaction with snapshot list
...
* Select snapshot before showing relevant context menu
* Ignore clicks on empty space (no path)
2024-09-28 21:40:11 +02:00
Robin Gareus
46f61d7662
Fix and simplify Playlist::fade_range for multiple ranges
2024-09-28 21:16:55 +02:00
Robin Gareus
6b5582deef
Small code cleanup and simplification
2024-09-28 21:16:01 +02:00
Robin Gareus
28605b5351
Fix Audio region fade property mapping
...
This fixes an issue when undoing region fades.
Particularly but not limited to the following:
1. select a region and split it in the middle
2. switch to range tool. make a range selection across the split
3. Edit > Fade > Fade range seection (or press `/`)
4. Undo
Previously the fade-out of the earlier region was not undone.
2024-09-28 21:15:57 +02:00
Robin Gareus
1d921dec0b
Debug thread sched_priority
2024-09-28 14:47:52 +02:00
Robin Gareus
2014faaeca
Fix BaseUI thread priority
2024-09-28 14:45:05 +02:00
Robin Gareus
dd4a1a6d73
Set thread priority relative to backend
...
This also removed direct calls to backend real_time_priority
for good measure.
2024-09-28 04:15:39 +02:00
Robin Gareus
72deb74c58
Unconditionally check for mlock
...
Prepare for `is_realtime` API removal. All backend
except for Dummy and sometimes JACK are realtime anyway.
2024-09-28 04:15:35 +02:00
Robin Gareus
395833e4f8
Always use PBD API for thread priorities
2024-09-28 03:58:48 +02:00
Robin Gareus
0b5a197f76
NO-OP: whitespace
2024-09-28 03:16:57 +02:00
Robin Gareus
d089f38481
Use config variable to set IOTask thread policy
2024-09-28 03:16:54 +02:00
Robin Gareus
dcd79f3135
Debug Backend thread creation
2024-09-28 03:16:50 +02:00
Robin Gareus
aeb4f925c6
PBD pthreads: allow unlimited stacksize
2024-09-28 03:16:45 +02:00
Robin Gareus
e8c67408bb
Impose stack limit on backend threads (freewheeling, MIDI poll)
2024-09-28 03:16:42 +02:00
Robin Gareus
e8445d13ec
Require thread name to be passed to PBD::Thread and store thread
2024-09-28 03:16:30 +02:00
Robin Gareus
88a24ae8e5
Let PBD::Thread set thread-name
2024-09-28 03:16:07 +02:00
Robin Gareus
538a8cbccc
Consolidate calls to `pthread_create' (2/2)
2024-09-28 03:16:02 +02:00
Robin Gareus
6a741689d1
Consolidate calls to `pthread_create' (1/2)
2024-09-28 03:15:48 +02:00
Robin Gareus
8d3ebde60e
Distinguish Threads and ThreadName debugging
...
This also allows for -DThread to enable both.
We celebrate the 128th debug bit and look forward to
the next 64!
2024-09-28 03:15:36 +02:00
Robin Gareus
c4fdd5356c
Enable debugging for stored threads
2024-09-28 03:14:16 +02:00
Robin Gareus
301777e7fe
Remove cruft
2024-09-27 18:03:11 +02:00
Robin Gareus
71a3161252
Error handling for 3751d20ce
2024-09-27 17:20:42 +02:00
Robin Gareus
3751d20ce9
Use dedicated thread to start export timespans #9798
...
This addresses an issue with creating a one-shot thread
directly from the realtime callback, which can be problematic
on Windows.
2024-09-27 06:00:15 +02:00
Robin Gareus
d8e4e7b259
Fix calculating intersection of waveform rectangle
...
see also 68eb63e0c8
2024-09-27 02:54:35 +02:00
Robin Gareus
9945d7721f
Allow to investigate I/O thread policy
...
see
https://discourse.ardour.org/t/ardour-8-7-unable-to-connect-to-audio-backend/110774/10
https://discourse.ardour.org/t/ardour-8-7-x-run-issues/110767/2
2024-09-27 01:41:40 +02:00
Robin Gareus
6cc54aa1b0
Fix playhead moving beyond loop range
...
When some other transport related session event (anything that
requires non_realtime_work_pending, e.g. PostTransportOverWrite)
coincides with SessionEvent::AutoLoop, the auto-loop event
was removed from the main event queue and executed as one-shot
immediate event.
While looping the AutoLoop event needs to remain on the main
event queue.
2024-09-26 16:26:05 +02:00