Paul Davis
|
65aa619e58
|
changes required by fixing ambiguities in timepos_t/timecnt_t API (libs edition)
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
c3d325b56a
|
Temporal: clean up API for timepos_t to remove unneeded duplicates and remove ambiguity
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
52ddf91e5b
|
Temporal: explain with timepos_t::_{ticks,beats} are for
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
5887ee524e
|
Temporal: further improvements to a timepos_t::distance() method
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
7b0d812e92
|
fix thinko with incorrect argument to AudioRegion::region_from_sources()
|
2021-08-13 12:51:31 -06:00 |
|
Paul Davis
|
7c56b9b2fc
|
Temporal: fix insanely incorrect implementation of timepos_t::distance()
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
a41a1ffa04
|
use a better initializer for region creation during import
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b866335d8f
|
add glib event loop callback to Generic MIDI surface support
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
16382982c5
|
fixups for AudioClock arising from explicit BBT_Offset (double)
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
fcdf7018c5
|
fix incorrect logic check for null session
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
c2d197a103
|
use correct initial value of AudioClock::_limit_pos
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
eec4addcd5
|
GUI side cleanup forced by explicit BBT_Offset (double)
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
3a2e6e174b
|
change default value of UIConfig's clock display limit, and prevent old config files from overriding the limit
720 hours was too long to be expressed via superclock in 62 bits. Use 99:59:59 instead.
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
def35cf043
|
mark BBT_Offset (double) constructor explicit to avoid implicit conversion in timeline expressions.
Also clean up the mess this had caused.
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b01b6929fb
|
fix potential for overflow when converting larger sample counts to superclock.
int_div_rount<T> was using int (32 bits) which could overflow.
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
15b28b103a
|
NOOP: whitespace changes
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
f8a0ba246c
|
move superclock_ticks_per_second declaration
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
18d64f0402
|
change all Region::nt_*() methods to names without the nt_ prefix (GUI version)
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
82e84e6b92
|
change all Region::nt_*() methods to names without the nt_ prefix (library version)
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
f0008898af
|
add operator<<() for timecnt_t()
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
4f6befea83
|
fix in62_t equality/inequality operators when used with mismatched arguments
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
bb9376c2b1
|
remove #warnings from region.cc related to Source object API
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
047cca3815
|
use AudioEngine sample rate, not session rate, in Graph
They should, of course, be the same, but the session may not be set up fully before the Graph object creates threads
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b876baa757
|
Temporal: various changes to arithmetic/logic methods to avoid assert() on domain mismatches where none is really needed
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
baaa8f36ca
|
fix timepos_t::max and timecnt_t::max to avoid int62_t flag bit
Both should likely just re-use int62_t::max
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
ae01dafcce
|
use Temporal::set_thread_sample_rate() rather than explicit assignment
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
62ea0fc24c
|
make sure butler thread has thread_local tempo map set up
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
d2352df523
|
remove unused file
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
47246b0179
|
libs/ardour/superclock.cc is not needed
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
02b98290c5
|
set uninitialized _time_domain member of TempoMap in constructor
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
ce7ea4ec36
|
Use glib event callback in Mackie Control support to set thread-local variables
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b7d22508fa
|
Add blib event callback to BaseUI, with a virtual method to be overridden by derived classes.
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
8bd465fc61
|
Add method to set thread_local _thread_sample_rate complete with debugging output
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
b06b856934
|
tweak test code to check int62_t::min and flag bit
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
179f2b2624
|
change value of int62_t::max to avoid flag bit being set
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
5772dcc72b
|
include temporal/range.cc as source module
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
e1620a22cf
|
temporal thread init for import thread
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
64fd52c380
|
ensure that AudioEngine backend-created threads have tempo map related thread private vars set
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
53c164f9fd
|
GUI changes to get libtemporal setup at application startup
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
8dbbc1df54
|
library changes to get libtemporal setup at application startup
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
d2a94468d4
|
missing part of RCU update for tempo marker drag
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
42c38d313d
|
try to use RCU updating when dragging tempo markers
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
adacaf3837
|
extend TempoMap API to assist with drag-RCU
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
49781e3b80
|
nominally fix up TempoMarkerDrag implementation for new TempoMap
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
cfac6ad254
|
comment code added in previous commit
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
44ff395ec8
|
move tempo map memento binder into .cc and actuall implement the RCU version
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
90553b315f
|
fix up memento command use for tempo map undo/redo
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
ed016dd4e6
|
fix TempoMap memento command binder
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
09d877004d
|
add a MementoCommand binder for TempoMap
|
2021-08-13 12:51:30 -06:00 |
|
Paul Davis
|
27c98adda9
|
alter API for MementoCommandBinder to allow future flexibility
|
2021-08-13 12:51:30 -06:00 |
|