13
0
livetrax/libs/pbd
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
..
boost-debug
msvc Emulate exp2f() for older MS compilers where it wasn't available 2021-05-05 17:50:41 +01:00
MSVCpbd Add an extra dependency lib which was previously only needed for Debug builds 2021-07-15 09:30:08 +01:00
pbd Fix div/zero, allow switching backends 2021-09-11 04:54:40 +02:00
test
base_ui.cc remove unused, empty glib event source/callback code (was from an experiment during nutempo2 development) 2021-09-04 07:39:27 -06:00
basename.cc
boost_debug.cc
cartesian.cc
ChangeLog
cocoa_open_uri.mm
command.cc
configuration_variable.cc
controllable.cc Keep track of recently touched Controllable 2021-02-09 02:11:04 +01:00
convert.cc
COPYING
cpus.cc
crossthread.cc
crossthread.posix.cc
crossthread.win.cc
debug_rt_alloc.c
debug.cc
demangle.cc Fix crash when demangled symbol is n/a 2021-07-19 18:26:22 +02:00
enums.cc
enumwriter.cc
epa.cc
error.cc
event_loop.cc Remove unused #include<> (2/2) 2021-05-05 17:57:16 +02:00
ffs.cc
file_archive.cc Set thread names 2021-06-30 17:15:27 +02:00
file_utils.cc
fpu.cc
gettext.h
id.cc
libpbd.pc.in
libpbd.spec.in
locale_guard.cc
localtime_r.cc
malign.cc
md5.cc
microseconds.cc NOOP: remove incomplete comment 2021-06-27 12:48:29 -06:00
mountpoint.cc
openuri.cc
pathexpand.cc
pbd.cc window compilation fix 2021-06-26 18:47:08 -06:00
pcg_rand.cc Amend 55211b8d (PRNG seed, use local address) 2021-08-16 04:59:10 +02:00
pool.cc Fix debug message: missing newline 2021-03-21 22:31:40 +01:00
property_list.cc
pthread_utils.cc No more wine 2021-07-03 19:07:25 +02:00
reallocpool.cc
receiver.cc
resource.cc
run-tests.sh
search_path.cc
semutils.cc Use Posix style return values for sem wait when on windows. 2021-05-27 15:17:15 -05:00
shortpath.cc
signals.cc
spinlock.cc
stacktrace.cc Print note when stacktrace is too short 2021-07-23 01:43:18 +02:00
stateful_diff_command.cc
stateful.cc Do not move automation when inserting regions 2021-04-29 23:26:24 +02:00
string_convert.cc
strreplace.cc
strsplit.cc
system_exec.cc Use poll timeout workaround on macOS only 2021-06-21 03:48:04 +02:00
textreceiver.cc
timer.cc
timing.cc change PBD::microseconds_t to a signed type and check for -1 in TimingStats::update 2021-06-28 14:47:48 -06:00
tlsf.cc
transmitter.cc
undo.cc
uuid.cc
whitespace.cc
windows_mmcss.cc
windows_special_dirs.cc
windows_timer_utils.cc window compilation fix 2021-06-26 18:40:44 -06:00
wscript remove unused, empty glib event source/callback code (was from an experiment during nutempo2 development) 2021-09-04 07:39:27 -06:00
xml++.cc Remove unused #include<> (2/2) 2021-05-05 17:57:16 +02:00