diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-13 13:52:01 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-13 13:52:38 -0600 |
commit | 7ba8714e37c2c43c0d5459aca737e156303dd24f (patch) | |
tree | b9a46cb4a5306359330f167e6dc640a6ce97e84e /libs/ardour/transport_master_manager.cc | |
parent | ee1f8a6fc764bd958205cd5902683f3503f8f7d7 (diff) |
add/alter DEBUG_TRACE output
Diffstat (limited to 'libs/ardour/transport_master_manager.cc')
-rw-r--r-- | libs/ardour/transport_master_manager.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/transport_master_manager.cc b/libs/ardour/transport_master_manager.cc index 0c715dcf9e..a40f4f0ec1 100644 --- a/libs/ardour/transport_master_manager.cc +++ b/libs/ardour/transport_master_manager.cc @@ -207,6 +207,8 @@ TransportMasterManager::pre_process_transport_masters (pframes_t nframes, sample return 1.0; } + DEBUG_TRACE (DEBUG::Slave, string_compose ("Current master at %1 moving at %2\n", _master_position, _master_speed)); + if (_current_master->sample_clock_synced()) { /* No master DLL required. Speed identified by the master is @@ -233,8 +235,7 @@ TransportMasterManager::pre_process_transport_masters (pframes_t nframes, sample init_transport_master_dll (_master_speed, _master_position); _master_invalid_this_cycle = true; - DEBUG_TRACE (DEBUG::Slave, "no roll3 - still initializing master DLL\n"); - master_dll_initstate = _master_speed > 0.0 ? 1 : -1; + DEBUG_TRACE (DEBUG::Slave, string_compose ("no roll3 - still initializing master DLL, will be %1 next process cycle\n", master_dll_initstate)); return 1.0; } |