X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_transport.cc;h=8771af46aa7138df63c17c386571d89a52cb982e;hb=cf52d6e4b40111eb04b244ec054055a4ec15dbe0;hp=47e0baaf5f03f9b3ec04fdfa8459687ff678871c;hpb=e59ab55831f6daed1eb7a299120787182b9416b7;p=ardour.git diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 47e0baaf5f..8771af46aa 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -47,7 +47,7 @@ #include "ardour/slave.h" #include "ardour/operations.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; @@ -1156,12 +1156,9 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool } // Update Timecode time - // [DR] FIXME: find out exactly where this should go below _transport_frame = target_frame; _last_roll_or_reversal_location = target_frame; timecode_time(_transport_frame, transmitting_timecode_time); - outbound_mtc_timecode_frame = _transport_frame; - next_quarter_frame_to_send = 0; /* do "stopped" stuff if: * @@ -1268,7 +1265,7 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) { boost::shared_ptr tr = boost::dynamic_pointer_cast (*i); - if (tr && tr->record_enabled ()) { + if (tr && tr->rec_enable_control()->get_value()) { // tell it we've looped, so it can deal with the record state tr->transport_looped (_transport_frame); }