-#ifdef DEBUG_MIDI_CLOCK
- cerr << "Transport:" << transport_frames
- << ":Last tick time:" << _last_tick << ":"
- << ":Next tick time:" << next_tick << ":"
- << "Offset:" << next_tick_offset << ":"
- << "cycle length:" << _midi_port->nframes_this_cycle()
- << endl;
-#endif
+ DEBUG_TRACE (PBD::DEBUG::MidiClock,
+ string_compose ("Transport: %1, last tick time: %2, next tick time: %3, offset: %4, cycle length: %5\n",
+ transport_frames, _last_tick, next_tick, next_tick_offset, _midi_port->nframes_this_cycle()
+ )
+ );