mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
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:
parent
c1dafd7c0e
commit
876a8547e4
1 changed files with 2 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue