ardour/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 Fix RCU Unit-test on macOS/X 2020-11-07 10:37:52 +01:00
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 Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
boost_debug.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
cartesian.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
ChangeLog
cocoa_open_uri.mm
command.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
configuration_variable.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
controllable.cc Keep track of recently touched Controllable 2021-02-09 02:11:04 +01:00
convert.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
COPYING
cpus.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
crossthread.cc use a local version (copy) of the G_SOURCE_FUNC macro, since it is not available in the GTK+ version we use for the official build stack 2019-12-30 09:49:23 -07:00
crossthread.posix.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
crossthread.win.cc Some initial changes (currently for libpbd only) to help a new contributer who's trying to build with MSVC2017 2020-03-26 10:40:36 +00:00
debug.cc Add debug transmitter 2020-10-13 21:27:16 +02:00
debug_rt_alloc.c Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
demangle.cc Fix crash when demangled symbol is n/a 2021-07-19 18:26:22 +02:00
enums.cc Add flag to explicitly hide a control 2020-03-18 18:16:29 +01:00
enumwriter.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
epa.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
error.cc Add debug transmitter 2020-10-13 21:27:16 +02:00
event_loop.cc Remove unused #include<> (2/2) 2021-05-05 17:57:16 +02:00
ffs.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
file_archive.cc Set thread names 2021-06-30 17:15:27 +02:00
file_utils.cc Use soundtouch for vocal audio time stretching (1/2) 2020-08-26 19:04:58 +02:00
fpu.cc For 64-bit compilation, MSVC no longer supports inline assembly 2021-01-07 09:22:43 +00:00
gettext.h
id.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
libpbd.pc.in
libpbd.spec.in
locale_guard.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
localtime_r.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
malign.cc Fix alignment unit-tests and ARM/NEON alignment 2020-10-15 03:55:42 +02:00
md5.cc
microseconds.cc NOOP: remove incomplete comment 2021-06-27 12:48:29 -06:00
mountpoint.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
openuri.cc Handle vfork/exec failure 2020-10-31 22:33:10 +01:00
pathexpand.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
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 Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
pthread_utils.cc No more wine 2021-07-03 19:07:25 +02:00
reallocpool.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
receiver.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
resource.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
run-tests.sh
search_path.cc Prevent duplicate search paths 2020-12-02 21:34:52 +01:00
semutils.cc Use Posix style return values for sem wait when on windows. 2021-05-27 15:17:15 -05:00
shortpath.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
signals.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
spinlock.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
stacktrace.cc Print note when stacktrace is too short 2021-07-23 01:43:18 +02:00
stateful.cc Do not move automation when inserting regions 2021-04-29 23:26:24 +02:00
stateful_diff_command.cc NO-OP: whitespace, re-indent 2020-02-28 06:08:26 +01:00
string_convert.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
strreplace.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
strsplit.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
system_exec.cc Use poll timeout workaround on macOS only 2021-06-21 03:48:04 +02:00
textreceiver.cc Add debug transmitter 2020-10-13 21:27:16 +02:00
timer.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
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 Changes needed for building with MSVC 2020-02-07 11:27:22 +00:00
transmitter.cc Add debug transmitter 2020-10-13 21:27:16 +02:00
undo.cc Fix mem-leak, Playlist/Region SessionHandleRef 2020-02-25 21:45:07 +01:00
uuid.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
whitespace.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
windows_mmcss.cc Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
windows_special_dirs.cc Add an extra option when querying Windows registry keys 2020-11-09 11:35:35 +00:00
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