13
0
Commit Graph

32189 Commits

Author SHA1 Message Date
90a0f0af89
CUE monitor during record w/preroll 2021-07-02 19:52:59 +02:00
5f5a577e08
Fix Lua doc formatting (reserved words) 2021-07-02 19:52:59 +02:00
b6daff81ec
Add missing Lua enum (preference input-meter-layout) 2021-07-02 19:52:59 +02:00
1734fac410 Revert "Paste Mode: overwrite-paste, naive implementation using rec-mode (for testing)"
This reverts commit f4d4dddbeb.

Deferred until after Ardour 6.8
2021-07-01 18:28:04 -06:00
88e0b24163
Playlist UI Tweaks: allow Enter to control the transport, not close the playlist-selector dialog 2021-07-02 02:05:32 +02:00
b23e13b331
Playlist UI Tweaks: when prompting user for a playlist name: remind them if it is a Copy or a New (empty) playlist 2021-07-02 01:44:56 +02:00
6380b74211
Add script to clear all automation 2021-06-30 19:23:44 +02:00
8a6f630736
Add Lua API to query all automatable params 2021-06-30 19:23:40 +02:00
bf43c8d2d4
Set thread names 2021-06-30 17:15:27 +02:00
0f6e34a697
ALSA: fix idempotent device name setup
This fixes an edge case where available buffersizes are
not not correctly set because the device info was never queried.
2021-06-30 04:10:48 +02:00
775f46315f remove debugging output from timing.h 2021-06-29 17:46:03 -06:00
d58e7c7ee4 Revert "fix handling of SMF files with consecutive noteOn events"
This breaks MIDI files that have events ordered On,On,Off,Off, and only fixes
the "malformed" On,On,Off. Correct fix requires collecting all events occuring
yat one time, sorting into Off,On and then merging.

This reverts commit 5c3e5f9afb.
2021-06-29 17:29:29 -06:00
fff2d2c5ad Revert "Fix crashes when unloading mac VST2 plugins"
This reverts commit b01fe8b0e4.
2021-06-30 01:05:09 +02:00
72242353f3 Revert "Fix mac builds - amend b01fe8b0e"
This reverts commit 45c8944789.
2021-06-30 01:05:04 +02:00
4170482aaf
Revert "VST2: Consolidate support methods (close, unload)"
This reverts commit 5e54425a35.

This is not compatible with current 6.x vst-info-file.
2021-06-30 00:22:17 +02:00
a36ab0c562 avoid timing stats calculation with <= values from get_microseconds() 2021-06-29 11:13:59 -06:00
a9f285b82b debugging timing stats by showing how max values are computed 2021-06-29 09:46:46 -06:00
9d88f370ae debug windows RunLoop timing stats 2021-06-29 09:25:38 -06:00
24ea6c4d30 make it possible to debug one of the RAII TimingStats objects 2021-06-29 09:25:38 -06:00
John Emmas
821d79e5a8 MSVC doesn't offer strings.h 2021-06-29 10:01:23 +01:00
a0f49fe5d0
Fix 32bit OSX builds (missing reference to bzero from Carbon.h) 2021-06-29 05:22:57 +02:00
c32c31f215 add keyfowarding to performance meters window 2021-06-28 18:28:11 -06:00
2344053276 change int64_t/double comparison into int64_t/int 2021-06-28 18:28:11 -06:00
b35a8f6626
Fix Wsign-compare, consistently use microseconds_t 2021-06-29 02:04:02 +02:00
1c0bef3f85
Remove redundant checks
update_ghost_note() can only be called with a valid, non-null
_ghost_note. Explicit checks trigger clang static analyzer to
report false positives, since _ghost_note is unconditionally
used in this method as well.
2021-06-29 01:53:56 +02:00
bd6fb8f172
Fix issue when importing m4a
PBD::RingBuffer<>::rw_vector can return a NULL pointer
for the 2nd buffer, which can lead to undefined behavior:
`memcpy (NULL, src, 0);`
2021-06-29 00:11:17 +02:00
f8a5d45b7a GUI side of microseconds_t => int64_t 2021-06-28 14:47:48 -06:00
b20a541d7e change PBD::microseconds_t to a signed type and check for -1 in TimingStats::update
This may help a Windows issue with the return value of QueryPerformanceCounter
2021-06-28 14:47:48 -06:00
45c8944789
Fix mac builds - amend b01fe8b0e 2021-06-28 20:58:36 +02:00
558d9d4897 russian translation updates (GUI) from alexandre prokoudine 2021-06-28 09:51:20 -06:00
5c3e5f9afb fix handling of SMF files with consecutive noteOn events
We no longer store nascent notes when noteOn is received, but wait till noteOff arrives. We also
ignore all other noteOn events between the earliest received and the noteOff.

Potentially we may want to use the _overlap_pitch_resolution member at some point
to offer control of this behavior.
2021-06-28 08:30:38 -06:00
f715edf7bc
Yet Another Splash Push/Pop Fix
Don't explicitly `show()` the splash when a message arrives.
On macOS and Windows the splash is not z-axis re-stacked but
hidden. Calling show() makes it visible again.
2021-06-28 15:52:32 +02:00
b01fe8b0e4
Fix crashes when unloading mac VST2 plugins
CFBundleRef is reference counted, so we need to retain
a reference. Previously it went out of scope at the end
of mac_vst_load().
2021-06-28 15:46:27 +02:00
5e54425a35
VST2: Consolidate support methods (close, unload) 2021-06-28 15:42:57 +02:00
John Emmas
09589c3c94 Add/remove source(s) in our MSVC project (libpbd) 2021-06-28 10:37:54 +01:00
537b8ff12d fix crash when context-clicking on a region/source cue marker 2021-06-27 22:13:54 -06:00
fe6e3615c7 changes to performance meter update code to allow for i18n 2021-06-27 13:32:46 -06:00
4fd639eca9 NOOP: remove incomplete comment 2021-06-27 12:48:29 -06:00
a261d399e0 microsoft docs say that only windows.h is required for QueryPerformance* 2021-06-27 12:17:51 -06:00
e2f2d0cb0f fix inadvertent typo that would cause compilation failure on windows 2021-06-27 10:53:31 -06:00
857a9b14d7 more macOS cleanup for microseconds.cc 2021-06-27 10:39:51 -06:00
347ca5c2fe clean up locally-created mess in libs/pbd/microseconds.cc 2021-06-27 10:28:53 -06:00
412b6a922d macOS: slight speed up for ::get_microseconds()
Move timebase initialization into microsecond_timer_init() and drop conditional
2021-06-27 10:23:44 -06:00
cce703bc9a
Resolve microseconds_t ambiguity #3 2021-06-27 17:49:31 +02:00
bcab07af63
Resolve microseconds_t ambiguity 2/2 2021-06-27 17:33:06 +02:00
b58dfc7f0f
Resolve microseconds_t ambiguity 1/2
This resolves a PBD vs ARDOUR namespace error for some compilers:
```
error: reference to 'microseconds_t' is ambiguous
libs/pbd/pbd/microseconds.h:29:19: error: candidates are: typedef uint64_t PBD::microseconds_t
libs/ardour/ardour/types.h:81:29: error:                  typedef PBD::microseconds_t ARDOUR::microseconds_t
```
2021-06-27 17:33:05 +02:00
6077cf1f7b Playlist UI Tweaks: only trigger playlist changes on a user-selection, not libardour
* avoid redundant updates when the user selects a playlist
* every track potentially has a playlist selector so avoid recursive updates
2021-06-27 09:54:06 -05:00
7b5d61b7a5
Fix transport master crash when switching backends
Port registration happens asynchronously. During the first process
callbacks the timecode/clock input ports may not have been
re-established.
2021-06-27 16:37:33 +02:00
db0691d236 macOS: fix compilation warnings on macOS versions where clock_gettime() is finally implemented 2021-06-27 08:24:59 -06:00
738b0ad21b
Fix OSX builds (amend 04df26244, a2b5962b6) 2021-06-27 05:09:07 +02:00