diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-02 16:11:10 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-02 16:32:18 -0600 |
commit | eee8eb100573fee6cb3085ba8c192a2ffab08f83 (patch) | |
tree | fa39a6beba71637adcb63043b4ef0778e6ba6a33 /libs/ardour/transport_fsm.cc | |
parent | 5241cdcf0368a6f240ae14bc4c9e153e1a8b4c10 (diff) |
allow explicit "with-roll" argument to a locate to override Session::should_roll_after_locate()
Diffstat (limited to 'libs/ardour/transport_fsm.cc')
-rw-r--r-- | libs/ardour/transport_fsm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc index f80f6e7a90..00645c8905 100644 --- a/libs/ardour/transport_fsm.cc +++ b/libs/ardour/transport_fsm.cc @@ -400,7 +400,7 @@ TransportFSM::start_locate_while_stopped (Event const & l) const assert (l.type == Locate); DEBUG_TRACE (DEBUG::TFSMEvents, "start_locate_while_stopped\n"); - current_roll_after_locate_status = api->should_roll_after_locate(); + current_roll_after_locate_status = l.with_roll ? true : api->should_roll_after_locate(); api->locate (l.target, current_roll_after_locate_status.get(), l.with_flush, l.with_loop, l.force); } |