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
b904fdea5d
switch PBD::Timing* to use PBD::get_microseconds()
2021-06-26 20:15:12 -06:00
31a2d6f555
window compilation fix
2021-06-26 19:09:07 -06:00
c2f7b12b0d
window compilation fix
2021-06-26 19:02:47 -06:00
fb562ddb61
window compilation fix
2021-06-26 19:02:13 -06:00
74538b7114
window compilation fix
2021-06-26 18:58:23 -06:00
2678366555
window compilation fix
2021-06-26 18:53:28 -06:00
228231d914
window compilation fix
2021-06-26 18:47:08 -06:00
5c8df87205
window compilation fix
2021-06-26 18:43:17 -06:00
5289d44821
window compilation fix
2021-06-26 18:40:44 -06:00
d1967827ca
compilation error fix for windows
2021-06-26 18:35:14 -06:00
b9a85c7dcd
compilation error fix for windows
2021-06-26 18:34:46 -06:00
4c1dcb70bb
compilation error fix for windows
2021-06-26 18:33:27 -06:00
a2b5962b6c
add new files for PBD::get_microseconds()
2021-06-26 18:30:11 -06:00
6b6114eb75
GUI fix for get_microseconds() move to libpbd
2021-06-26 18:27:54 -06:00
9cbaa31c7e
libs fix for get_microseconds() move to libpbd
2021-06-26 18:27:39 -06:00
04df262447
tweak libardour to reflect get_microseconds() move to libpbd
2021-06-26 18:26:13 -06:00
9e598548f7
put get_microseconds() into PBD namsepace
...
This implementation is a blend of the two previously in libs/ardour/globals.cc
and libs/pbd/window_timer_utils.cc
2021-06-26 18:25:02 -06:00
a2974b0c0b
portaudio: improved compilation error fix
2021-06-26 12:56:49 -06:00
8bc4464309
portaudio: compilation error fix
2021-06-26 12:51:54 -06:00
7e858b9bda
portaudio: add standardized DSP statistics to portaudio backend (uncompiled)
2021-06-26 12:32:23 -06:00
74c93f3ff3
coreaudio: fix dsp stats collection
2021-06-26 11:42:18 -06:00
a05bf30ccb
CoreAudioSource: fix formatting error
2021-06-26 11:28:15 -06:00
c7bed1320e
adding DSP stats to coreaudio backend (uncompiled)
2021-06-26 11:25:07 -06:00
995137aeb3
add PBD::WaitTimerRAII with reverse semantics from PBD::TimerRAII
2021-06-26 11:24:59 -06:00
83b9ab1bee
Temporarily revert ongoing varispeed development
...
This reverts bf88f3fe64
until 35813db0f4
in order to move development into a branch, until after the
upcoming 6.8 release
2021-06-26 18:58:24 +02:00
35813db0f4
Default_Play_Speed: add color for blinking varispeed label to themes
2021-06-25 11:51:35 -05:00
6ab5c2cd55
Default_Play_Speed: honor preference setting to reset the default_speed on Stop
2021-06-25 11:51:35 -05:00
3454a34ba4
Default_Play_Speed: change some speeds from assuming "1.0" to "default_speed" (gtk part)
2021-06-25 11:51:35 -05:00
ea3abe9f24
Default_Play_Speed: change some speeds from assuming "1.0" to "default_speed" (lib part)
2021-06-25 11:51:34 -05:00
e5d7fb441b
Default_Play_Speed: changing default_play_speed should also immediately change the engine speed
2021-06-25 11:51:34 -05:00
9217b25fe3
Default_Play_Speed: when transport is stopped, we want to run the engine at the varispeed setting.
...
* PRO: you can audition synths at the varispeed tuning; you can use x42 guitar tuner when stopped
* CON: this is NOT like a tape machine ... a tape machine has no 'speed' when stopped
ToDo: if we find that this is contentious, we could make a config var for it
2021-06-25 11:51:34 -05:00
5b8835483e
Default_Play_Speed: simple varispeed GUI
2021-06-25 11:51:34 -05:00
af19e1e7e7
Default_Play_Speed: nuke shuttle Wheel mode (gtk part)
2021-06-25 11:51:34 -05:00
d31a7c292f
Default_Play_Speed: nuke shuttle Wheel mode (libardour part)
2021-06-25 11:51:34 -05:00
b4eba1a30b
Default_Play_Speed: prep work (gtk2)
...
* request_transport_speed should -never- set default_play_speed
2021-06-25 11:51:34 -05:00
006055a2ff
Default_Play_Speed: prep work (libardour)
...
* remove unused variables in session.h
* move default play speed (varispeed(sic)) into fsm
* request_transport_speed should -never- set the default_play_speed
2021-06-25 11:51:34 -05:00
bf88f3fe64
Auto-return: cancel auto-return on fast-wind (>2x), but ignore small varispeed changes
...
*ToDo: we need an actual FFWD/REW state that is set when we are fast-winding as a locate mechanism
2021-06-25 11:51:18 -05:00
838279c5e8
Fix C++11ism, enums are not classes in C++98
2021-06-24 18:14:06 +02:00
68e3d3d672
Fix endless loop if port-handle is n/a #8760
2021-06-24 17:20:44 +02:00
944eae53e6
Add a Midi port per Midi Tracer window that can be connected to for debugging.
2021-06-23 17:54:58 -05:00
6f251f8b2f
Fix Midi Tracer handling of different port types
...
Transport Masters and Async MIDI port already have a parser available, so
just connect to it.
Normal Midi ports are the only one that need to use the Midi Tracers parser.
2021-06-23 17:54:58 -05:00