13
0
livetrax/libs/temporal
Robin Gareus 1288262ca7
Fix div/zero, allow switching backends
When switching backends, the effective sample-rate is zero.
This only affects the butler thread (the only active thread when
stopped). The actual issue here is the butler calling
"non-realtime-stop" without a backend. However fixing 0/0
generally seems appropriate.
```
#0 in int_div_round<long>(long, long) (x=0, y=0) at ../libs/pbd/pbd/integer_division.h:36
#1 in Temporal::samples_to_superclock(int64_t, int) (samples=0, sr=0) at ../libs/temporal/temporal/superclock.h:39
#2 in Temporal::timepos_t::timepos_t(long) (this=0x7f94bc0a5890, s=0) at ../libs/temporal/temporal/timeline.h:55
#3 in ARDOUR::Automatable::non_realtime_locate(long) (this=0x55a12a980cc8, now=0) at ../libs/ardour/automatable.cc:421
#4 in ARDOUR::Route::non_realtime_locate(long) (this=0x55a12a980ae0, pos=0) at ../libs/ardour/route.cc:5462
#5 in ARDOUR::Session::non_realtime_stop(bool, int, bool&) (this=0x55a12e0cd000, abort=false, on_entry=1, finished=@0x7f94bc0a5e0f: true) at ../libs/ardour/session_transport.cc:1487
#6 in ARDOUR::Session::butler_transport_work(bool) (this=0x55a12e0cd000, have_process_lock=false) at ../libs/ardour/session_transport.cc:1153
#7 in ARDOUR::Butler::thread_work() (this=0x55a12f3b7000) at ../libs/ardour/butler.cc:222
#8 in ARDOUR::Butler::_thread_work(void*) (arg=0x55a12f3b7000) at ../libs/ardour/butler.cc:16
```
2021-09-11 04:54:40 +02:00
..
MSVCtemporal Further change needed for 'libtemporal' 2020-05-29 12:28:13 +01:00
temporal Fix div/zero, allow switching backends 2021-09-11 04:54:40 +02:00
bbt_time.cc temporal: fix error in operator>> for BBT_offset 2021-08-31 22:33:33 -06:00
beats.cc temporal: fix operator>> for Beats when handling pre-nutempo formats (double) 2021-09-10 12:15:24 -06:00
debug.cc add new debug bit for Temporal grid stuff 2021-08-13 12:51:32 -06:00
enums.cc libtemporal: add operator<<() for ratio_t 2021-08-13 12:51:32 -06:00
range.cc include temporal/range.cc as source module 2021-08-13 12:51:30 -06:00
superclock.cc Initial changes needed for building libtemporal with MSVC 2021-08-29 11:03:58 +01:00
tempo.cc allow negative superclock -> negative beats computation 2021-08-23 11:36:54 -06:00
test2.cc tweak test code to check int62_t::min and flag bit 2021-08-13 12:51:30 -06:00
test.cc basic work on a Tempo object that avoids (almost) all floating point arithmetic 2021-08-13 12:51:28 -06:00
time.cc Fix remaining doxygen warnings (!) 2019-09-30 21:03:29 +02:00
timeline.cc libtemporal: fix timepos_t::set_time_domain() 2021-08-13 12:51:36 -06:00
wscript libtemporal: needs "OSX" pseudo-lib to pick up required macOS flags 2021-08-13 12:51:35 -06:00