13
0
Commit Graph

39571 Commits

Author SHA1 Message Date
180e90b81a
Only call non_realtime_locate() when locating
`butler_transport_work()` may be called for various reasons,
notably PostTransportOverWrite. At that point in time the
transport may still be rolling or stopping with rtloc already
set.

This can cause DR::Underruns since seek clear the entire
disk reader buffer.
2024-09-26 03:45:24 +02:00
4f33105ae0
Process PostTransportOverWrite after all
This is needed to properly decrement "should_do_transport_work".
After a seek the DR:_pending_overwrite flag will have been
cleared, so not much extra work happens here.
2024-09-26 03:25:13 +02:00
e1f465a952
NO-OP: improve butler and disk-i/o debug messages 2024-09-26 03:25:07 +02:00
75e6a77c3e
Fix another debug message 2024-09-26 02:26:30 +02:00
9d0415ba04
Waveview: fix visual jitter when trimming or splitting regions
The left edge of a region on the the editor is rounded to be
on a pixel. When zoomed out, the position corresponding to that
pixel is not usually identical to the region's position().

We need to correct for this as best as possible, while keeping
peaks aligned to pixels.
2024-09-26 02:21:24 +02:00
68eb63e0c8
Waveview: fix rounding, span entire region rectangle
Previously samples at the end could end up being cropped,
when the Waveview is rendered using an offset.
2024-09-26 02:21:24 +02:00
b28090c64c
Peakdata: start striding at consistent offsets 2024-09-26 02:21:24 +02:00
5d65d7f051
Peakdata: correctly set peaks of left and right end 2024-09-26 02:21:23 +02:00
0357c12fcc Really fix compiler warnings for clang < v15
see also 57a6773833
2024-09-26 01:31:25 +02:00
60b3b24cc8
Do not allow changing the loop range while recording 2024-09-25 21:43:47 +02:00
18e0cba1cb
Fix underruns when looping/locating and changing region content
Previously loop-wrap around asked the butler to perform
a unnecessary seek operation next time it is summoned.

If the butler is then summoned for a PostTransportOverWrite
event, the seek causes a DR::Underrun.
2024-09-25 20:06:08 +02:00
5af023c70b
Fix some debug messages 2024-09-25 20:06:08 +02:00
74bbcdcae7 Closing tags should also have proper indentation in XML 2024-09-25 17:11:27 +02:00
3d1c414a94 initialize member variable 2024-09-24 14:52:06 -06:00
0e28620a7a prevent Session::StateSaved being emitted when doing save-as with no switch-to
The signal would be emitted while the session was temporarily renamed,
making it appear that we had switched to the new session, despite instructions
not to do so. We had not actually done so, but the saved-as name would show up
on window titles.
2024-09-24 14:50:35 -06:00
72cac07ae7
Generic MIDI: do not send touch events for all mapped controlers
Previously a start-touch was sent for any bound MIDI
Controllable on each incoming MIDI Control event.
2024-09-24 16:11:00 +02:00
d3f536a7ff
Remove unused variable 2024-09-24 16:10:59 +02:00
68d7c97b0d Add the missing closing tag, mea maxima culpa 2024-09-24 15:45:30 +02:00
4024a4354c region grouping: Overdubbing in non-layered mode was assigning wrong groups 2024-09-23 16:35:04 -05:00
61988bb032 add option to name new MIDI tracks from SMF with just the SMF track name (gui editing) 2024-09-22 09:49:55 -06:00
f75f5b0ded add option to name new MIDI tracks from SMF with just the SMF track name (libs edition) 2024-09-22 09:49:55 -06:00
66fdee2e45
Require user's color theme files to be versioned
Previously tagged releases did not append major.minor
version to a user's "my-*.colors" file. Ardour also loaded
theme files which a user saved with a previous version.

When new colors were added, those are missing from the
older my-*.colors file.

see also https://discourse.ardour.org/t/color-theme-issues-with-ardour-8-7/110729/20
2024-09-22 16:12:26 +02:00
adf511264b
NO-OP: sort dark color names alphabetically
This is how Ardour's libXML saves the color files and
it is easier to diff files.
2024-09-19 17:24:33 +02:00
57a6773833
Check compiler version to set compiler warning options
This cleans up nightly build log (clang 13) and allows
clean compiler output on dev systems (clang 16).
2024-09-18 15:27:37 +02:00
8ab7c05382
Fix fan-out of instruments with illegal path-chars in their port-name
e.g. EZDrummer "1/2" (or generic "L/R"). While those names
are perfectly fine for Ports, tracks (file) names cannot include
those chars.

Since fan-out looks up routes by name this failed to properly
connect stereo pinouts since 4a14f2fed5, 5b746b186.
2024-09-17 22:16:28 +02:00
09e9d7781b
Add build support for macOS/Sonoma
At some point in the not-too-distant-future we need
to simplify this and simply require Mojave/XCode 10 or later.
2024-09-17 00:01:51 +02:00
2d99ff9703
Snapshot and.. cannot overwrite currently loaded session 2024-09-16 00:37:19 +02:00
9c64e7d141
Fix libhid API builds with recent gcc/glib `
Since glibc 2.10 `wcsdup` and `strtok_r` require `_POSIX_C_SOURCE`

(see also da520ce 4b8b5ac)
2024-09-15 12:00:12 +02:00
Fabio Pesari
f94bde59d7
Fix for Boost 1.8.5
Recent boost prevents calls to `get_child` with temporary
default values.
2024-09-15 11:43:52 +02:00
9f438aa773
Add workaround to compile w/c++17 and old boost on macOS
This can be removed once the buildstack has been updated to
use recent boost.
2024-09-15 00:19:26 +02:00
e299635511
Allow to explicitly request C++11/17 2024-09-15 00:14:51 +02:00
098cd721d3
Allow a potential 8.8.0 hotfix 2024-09-14 18:36:59 +02:00
9602a11ef3
LV2: push output port data to GUI at first run
This fixes an issue with some plugins UIs that depend on a
"changed" signal e.g. zynaddsubfx
2024-09-14 17:46:14 +02:00
0ed82d2f50
Add C++17 option to force compiles to use std=cxx17 2024-09-14 16:08:58 +02:00
1f70d54989 avoid call of a null function pointer 2024-09-13 08:24:04 -06:00
79e78394c2 track modal window show/hide, not realize/finalize 2024-09-13 16:02:59 +02:00
639c9a0ca8
Ardour 8.x is history. up next: "Music for Civic Recovery Centre" 2024-09-12 21:22:55 +02:00
ab533c38a3
LV2 fix a tiny memory leak introduced in c0b61d5a28 2024-09-11 05:31:27 +02:00
1737b48aec Revert "try to add some debugging for macOS modal/menu handling"
This reverts commit c5751db473.
2024-09-10 16:34:16 -06:00
bf6ce27b03 Revert "try to fix up previous commit"
This reverts commit 04305774cc.
2024-09-10 16:34:03 -06:00
04305774cc try to fix up previous commit 2024-09-10 13:48:59 -06:00
c5751db473 try to add some debugging for macOS modal/menu handling 2024-09-10 13:09:13 -06:00
8a9a9695aa
Fix crash when transport master widget is visible at session close
Previously that could cause a heap-use-after-free.
A reliable way to trigger it was to show the audio connection
dialog and connect a track's output to LTC master, then quit.
2024-09-10 19:21:48 +02:00
e8644654c2
Prepare to filter incoming LTC 2024-09-10 18:25:06 +02:00
cd6dca6063
Allow to query Biquad coefficients 2024-09-10 18:25:02 +02:00
a91d515f5d add new italian translator contributors 2024-09-10 08:18:38 -06:00
379d75c66d make Scene ports visible in MIDI connection matrix 2024-09-10 08:13:55 -06:00
aFunkyBass
a1acf288ec Update it.po 2024-09-10 07:27:59 -06:00
9c37782ccc Enhance the Arturia MiniLab 3 map 2024-09-10 05:58:45 +02:00
c0b61d5a28
Fix LV2 optional connect port logging #9790 2024-09-09 16:04:35 +02:00