13
0

enhanced debug trace output

This commit is contained in:
Paul Davis 2019-02-26 09:01:16 -07:00
parent d26a835d35
commit a84164cd94

View File

@ -122,7 +122,7 @@ TransportMaster::speed_and_position (double& speed, samplepos_t& pos, samplepos_
speed = last.speed; speed = last.speed;
pos = last.position + (now - last.timestamp) * last.speed; pos = last.position + (now - last.timestamp) * last.speed;
DEBUG_TRACE (DEBUG::Slave, string_compose ("%1: speed_and_position tme: %2 pos: %3 spd: %4\n", name(), last.timestamp, last.position, last.speed)); DEBUG_TRACE (DEBUG::Slave, string_compose ("%1: speed_and_position @ %5 last @ %2 pos: %3 spd: %4\n", name(), last.timestamp, last.position, last.speed, now));
lp = last.position; lp = last.position;
when = last.timestamp; when = last.timestamp;