}
#ifndef NDEBUG
- DEBUG_STR_DECL(foo)
- DEBUG_STR_APPEND(foo,"sending ");
- DEBUG_STR_APPEND(foo, transmitting_timecode_time);
- DEBUG_TRACE (DEBUG::MTC, string_compose ("%1 qfm = %2, stamp = %3\n", DEBUG_STR(foo).str(), next_quarter_frame_to_send,
- out_stamp));
+ if (DEBUG_ENABLED(DEBUG::MTC)) {
+ DEBUG_STR_DECL(foo)
+ DEBUG_STR_APPEND(foo,"sending ");
+ DEBUG_STR_APPEND(foo, transmitting_timecode_time);
+ DEBUG_TRACE (DEBUG::MTC, string_compose ("%1 qfm = %2, stamp = %3\n", DEBUG_STR(foo).str(), next_quarter_frame_to_send,
+ out_stamp));
+ }
#endif
// Increment quarter frame counter