Files
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
..
2020-11-07 10:37:52 +01:00
2020-10-13 21:27:16 +02:00
2020-03-18 18:16:29 +01:00
2020-10-13 21:27:16 +02:00
2021-05-05 17:57:16 +02:00
2021-06-30 17:15:27 +02:00
2015-10-05 16:17:49 +02:00
2020-10-31 22:33:10 +01:00
2021-06-26 18:47:08 -06:00
2021-03-21 22:31:40 +01:00
2021-07-03 19:07:25 +02:00
2020-12-02 21:34:52 +01:00
2020-10-13 21:27:16 +02:00
2020-02-07 11:27:22 +00:00
2020-10-13 21:27:16 +02:00
2021-06-26 18:40:44 -06:00
2021-05-05 17:57:16 +02:00