13
0

call our "transport stopped" code path when JACK transport stops

this fixes issues with MIDI region recording, which otherwise never
goes through the code path required to "fix" the nascent data into
sources and regions.
This commit is contained in:
Paul Davis 2024-08-27 09:42:31 -06:00
parent 83207e04e7
commit 981dfd67e7

View File

@ -1258,6 +1258,12 @@ Session::plan_master_strategy_engine (pframes_t nframes, double master_speed, sa
DEBUG_TRACE (DEBUG::Slave, "JACK transport: not moving\n");
if (!transport_stopped_or_stopping()) {
DEBUG_TRACE (DEBUG::Slave, "JACK Transport: jack is stopped, we are not, so stop ...\n");
TFSM_STOP (false, false);
return 1.0;
}
const samplecnt_t wlp = worst_latency_preroll_buffer_size_ceil ();
if (delta != wlp) {