13
0
Commit Graph

32320 Commits

Author SHA1 Message Date
9fa71f9c2c
Really fix macOS builds (see 1ca2e4c, 2753c32) 2021-07-13 17:39:26 +02:00
1ca2e4c567
Fix macOS builds (amend 2753c32c0a) 2021-07-13 17:31:53 +02:00
33faf7ca56
Fix tooltip for new-playlist button 2021-07-13 17:02:14 +02:00
4651ec8382
Unconditionally enable stacktrace for windows builds
This also fixes an issue introduced 7d39205350
(duplicate variable name "levels".
2021-07-13 13:47:26 +02:00
ab6d46c24c
Add GUI control to block MIDI patch change on session load 2021-07-13 03:29:28 +02:00
de3291d10b
Allow to skip setting MIDI patch on session-load #8743
Ardour MIDI tracks unconditionally remember any
MIDI CC/Patch changes that are received.

Patch changes are re-played after the session is loaded,
so that they can reach external synths after ports are
re-connected.

This can lead to issues with synth plugins. Their state
is set first. Receiving a patch-change may alter the synth's
state.
2021-07-13 03:29:28 +02:00
William Light
446dcbd8ce plugin_manager_ui: small spelling fix 2021-07-13 02:28:20 +02:00
219bb86798
PM-UI: setup tooltips, scroll to selected, etc 2021-07-13 01:32:56 +02:00
2753c32c0a
Consolidate scan-log (partial lines, newlines)
Particularly on macOS child process ReadStdout
may produce many partial lines unbuffered lines.
Since each log message appends a newline, the log
had entries like:

```
Thi
s is a
n examp
le
```
2021-07-12 23:49:47 +02:00
5ddb88724e
Add separator around stacktraces in scan-log 2021-07-12 23:33:03 +02:00
William Light
2ee5082b06 VST3: embarrassing missing closing paren
third time's the charm!
2021-07-12 18:34:23 +02:00
William Light
27c9c191d6 VST3: fix style issue and compilation warning 2021-07-12 17:31:22 +02:00
ebbd48289d
Only mark plugin-scan as complete if it succeeds w/o being canceled 2021-07-12 17:26:51 +02:00
William Light
127cf7aaae VST3: fix crash on fan-out 2021-07-12 17:01:21 +02:00
John Emmas
ebbf34b266 Pass 'localtime_r()' the correct form of 'time_t'
Even for a 32-bit build, MSVC expects 'time_t' to be 64-bit - whereas Glib (i.e. GStatBuf) seems to be using a 32-bit version. Since we're passing by address, this will cause problems in a Windows build.

We can kludge this by making sure we pass the expected type for 'time_t'. Ultimately though, it'd be safer to adapt 'localtime_r()' to accept its first parameter by value, rather than expecting a pointer.
2021-07-12 10:32:18 +01:00
40c698340d
Subscribe to PluginScanLogChanged signal 2021-07-12 05:23:17 +02:00
3941ae526f
PM: emit signal when plugin-scan-log changes 2021-07-12 05:23:00 +02:00
ff88d4c9eb
Fix mac-build (amend 6af9b0194e) 2021-07-12 04:59:16 +02:00
778aa6ed9f
Fix windows builds (exception_info is a fn) 2021-07-12 04:57:53 +02:00
6af9b0194e
Print stacktrace when plugin-scanner app crashes 2021-07-12 04:23:24 +02:00
7d39205350
Allow to skip top stacktrace frames
This is useful to hide the call of `PBD::stacktrace` itself.
2021-07-12 04:01:07 +02:00
9e2c5f4ffc
Fix MIDI rec-rectangle when rec-arm while looping 2021-07-12 02:13:07 +02:00
2e90a58611
Fix pre-roll rec trim near 00:00:00 2021-07-12 02:13:05 +02:00
1736cb9ef5
Fix MIDI capture alignment punch-in, manual punch in/out
This now passes all of the following, either
when directly bouncing or when re-recording via physical loopback:

 * record w/preroll
 * record w/count-int
 * loop record at 00:00:00
 * loop record starting >> 00:00:00
 * punch record at 00:00:00
 * punch record > 00:00:00
 * rec-arm while looping (!)
 * repeatedly rec-arm/disarm while rolling
2021-07-12 02:13:02 +02:00
b8f245f7e8
Fix audio loop recording alignment 2021-07-12 02:12:49 +02:00
914c4beb21
Fix windows builds (localtime_r) 2021-07-11 21:05:11 +02:00
d3c0a75f63
Update disk-io/file-name when changing track names
...and do not update playlist name as described #4759 and #4977
2021-07-11 20:54:44 +02:00
f61eb7e067
Remove unused variables 2021-07-11 08:07:38 +02:00
35394f427c
MIDI rec-rect: apply offset, correctly position notes 2021-07-11 07:14:38 +02:00
08cd4b2083
Rec w/count-in: directly roll transport 2021-07-11 07:11:32 +02:00
16cba9482a
Remove debug message in optimized builds 2021-07-11 02:35:26 +02:00
38841eccaf
Remove unused MIDI-flush
realtime_stop() calls unset_play_loop(), unless loop is a
transport-state. Any later calls by butler_transport_work()
will never reach this get_play_loop() clause when just looping.

Besides while recording, locates are not possible,
so this case never triggered under normal operation
(Non-seamless looping is no longer supported since 6.0).
2021-07-11 02:35:15 +02:00
b0e33d7d65
Fix Loop recording
DiskWriter::seek() flushes all recorded audio/MIDI, and resets
buffers as if no recording has happened.

Data must be flushed to disk before any non-realtime locates happen.
This happens at transport-stop, which is usually called first.

Except since 8b048bb351 Session::butler_transport_work() may call
non_realtime_stop() after a non_realtime_locate() when looping
more than once.
2021-07-11 02:29:21 +02:00
dfa34f2885
Fix MIDI capture duration when loop recording
If there is a tempo/meter change after the loop-end,
the capture duration was set incorrectly.

Previously `total_capture_beats` was set as if the recording
was linear passing though tempo-map changes after the loop.
2021-07-11 02:19:04 +02:00
6c28f0f4fb
Fix pre-roll MIDI capture alignment
_capture_start_sample is remains zero until
DiskWriter::check_record_status() starts recording.

This incorrectly increased _accumulated_capture_offset
during pre-roll which resulted in lost samples at the beginning.
2021-07-10 23:20:44 +02:00
0d8ee3e847
Catch errors instead of testing for nullptr 2021-07-10 17:47:18 +02:00
cbbcdb4fe6
SourceFactory throw instead of returning nullptr #623 2021-07-10 17:46:57 +02:00
e65a888c89
Fix muted MIDI regions 2021-07-10 02:11:52 +02:00
092f737722
VST2/3 log file/cache mtime during scan 2021-07-09 22:58:23 +02:00
dd0c543943
MIDNAM spelling fix "Accordion" #8773 2021-07-09 21:43:33 +02:00
cafd757e8a Print AU blacklist after scanning 2021-07-09 01:07:50 +02:00
09a3c97358 Consolidate black/white methods in PM 2021-07-09 01:07:36 +02:00
fd0dc917bf
Fix gcc4 builds ('errno' was not declared in this scope) 2021-07-08 22:58:57 +02:00
2b066293fb
Set playlist ID when importing to new tracks
This amends 730a0954 and b27bb586.
This also restores the original API for do_import()
and do_embed() as used by Lua scripts.

Note that this uses distinct IDs when importing both audio
and MIDI in the same DnD request.
2021-07-08 05:28:10 +02:00
2433b3059f
Tweak missing plugin dialog wording 2021-07-07 19:40:47 +02:00
d0177846dd
VST3: fix manual black/whitelist 2021-07-07 19:40:24 +02:00
b27bb586d0
Fix import, partially revert 730a0954d7 for now 2021-07-07 19:16:53 +02:00
b5338ce220
Tweak VST path edit window
This correctly sets transient parent. Previously this
could cause a crash when the rc_option_editor window
was detached and not realized.
2021-07-07 18:07:52 +02:00
aaf7d3227c
Fix macOS builds 2021-07-07 14:30:07 +02:00
64f814438a
Fix OSX and gcc4 builds (errno, strerror) 2021-07-07 13:49:02 +02:00