13
0

Send both MTC and MMC locates on auto-return. Should fix #3303.

git-svn-id: svn://localhost/ardour2/branches/3.0@7399 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-07-09 00:58:28 +00:00
parent c1dafd7c0e
commit 876a8547e4

View File

@ -182,12 +182,6 @@ Session::realtime_stop (bool abort, bool clear_state)
/* assume that when we start, we'll be moving forwards */
// FIXME: where should this really be? [DR]
//send_full_time_code();
MIDI::Manager::instance()->mmc()->send (MIDI::MachineControlCommand (MIDI::MachineControl::cmdStop));
send_mmc_locate (_transport_frame);
if (_transport_speed < 0.0f) {
todo = (PostTransportWork (todo | PostTransportStop | PostTransportReverse));
} else {
@ -564,6 +558,8 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
have_looped = false;
send_full_time_code (_transport_frame);
MIDI::Manager::instance()->mmc()->send (MIDI::MachineControlCommand (MIDI::MachineControl::cmdStop));
send_mmc_locate (_transport_frame);
if ((ptw & PostTransportLocate) && get_record_enabled()) {
/* capture start has been changed, so save pending state */