mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
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:
parent
83207e04e7
commit
981dfd67e7
1 changed files with 6 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue