diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 664e774342..292426ed04 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -165,7 +165,10 @@ LTC_Slave::detect_ltc_fps(int frameno, bool df) did_reset_tc_format = true; } if (cur_timecode != tc_format) { - warning << _("Session and LTC framerate mismatch.") << endmsg; + warning << string_compose(_("Session framerate adjusted from %1 TO: LTC's %2."), + Timecode::timecode_format_name(cur_timecode), + Timecode::timecode_format_name(tc_format)) + << endmsg; } session.config.set_timecode_format (tc_format); } else { @@ -174,7 +177,10 @@ LTC_Slave::detect_ltc_fps(int frameno, bool df) if (a3e_timecode != cur_timecode) printed_timecode_warning = false; if (cur_timecode != tc_format && ! printed_timecode_warning) { - warning << _("Session and LTC framerate mismatch.") << endmsg; + warning << string_compose(_("Session and LTC framerate mismatch: LTC:%1 Session:%2."), + Timecode::timecode_format_name(tc_format), + Timecode::timecode_format_name(cur_timecode)) + << endmsg; printed_timecode_warning = true; } } diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index e08c14890c..4696f1e936 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -344,7 +344,10 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, framepos_t now) did_reset_tc_format = true; } if (cur_timecode != tc_format) { - warning << _("Session and MTC framerate mismatch.") << endmsg; + warning << string_compose(_("Session framerate adjusted from %1 TO: MTC's %2."), + Timecode::timecode_format_name(cur_timecode), + Timecode::timecode_format_name(tc_format)) + << endmsg; } session.config.set_timecode_format (tc_format); } else { @@ -353,7 +356,10 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, framepos_t now) if (a3e_timecode != cur_timecode) printed_timecode_warning = false; if (cur_timecode != tc_format && ! printed_timecode_warning) { - warning << _("Session and MTC framerate mismatch.") << endmsg; + warning << string_compose(_("Session and MTC framerate mismatch: MTC:%1 Ardour:%2."), + Timecode::timecode_format_name(tc_format), + Timecode::timecode_format_name(cur_timecode)) + << endmsg; printed_timecode_warning = true; } } @@ -538,6 +544,7 @@ MTC_Slave::speed_and_position (double& speed, framepos_t& pos) { framepos_t now = session.engine().frame_time_at_cycle_start(); framepos_t sess_pos = session.transport_frame(); // corresponds to now + //sess_pos -= session.engine().frames_since_cycle_start(); SafeTime last; framecnt_t elapsed;