13
0

fix typo that passed wrong value as 2nd parameter to Session::plan_master_strategy()

This commit is contained in:
Paul Davis 2020-03-20 19:26:37 -06:00
parent 386264bd23
commit 1e474afbce

View File

@ -422,7 +422,7 @@ AudioEngine::process_callback (pframes_t nframes)
if (!_freewheeling || Freewheel.empty()) {
double engine_speed = tmm.pre_process_transport_masters (nframes, sample_time_at_cycle_start());
engine_speed = _session->plan_master_strategy (nframes, tmm.get_current_position_in_process_context(), tmm.get_current_position_in_process_context(), engine_speed);
engine_speed = _session->plan_master_strategy (nframes, tmm.get_current_speed_in_process_context(), tmm.get_current_position_in_process_context(), engine_speed);
Port::set_speed_ratio (engine_speed);
DEBUG_TRACE (DEBUG::Slave, string_compose ("transport master (current=%1) gives speed %2 (ports using %3)\n", tmm.current() ? tmm.current()->name() : string("[]"), engine_speed, Port::speed_ratio()));