diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2020-04-02 18:39:46 +0200 |
---|---|---|
committer | Johannes Mueller <github@johannes-mueller.org> | 2020-04-02 18:39:46 +0200 |
commit | 06dee15a18b033b9634f0917a2566ca7758a9297 (patch) | |
tree | 61a91217c2482ade0d205c542f2a783c7b6cab6a | |
parent | 849bce6e4dbcc42c2684fdce947e46c469ebc132 (diff) |
Emit Locate() in ::locate() even if we are not synced_to_engine()
This reverts 05c77db7739c (revert necessary due to 4637c49838a8)
Since 4637c49838a8 we no longer emit Located() in ::backend_sync_callback().
Therefore we must emit Located() in ::locate() even if we are
synced_to_engine().
Otherwise the playhead is not updated when synced_to_engine() in some
circumstances.
-rw-r--r-- | libs/ardour/session_transport.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 981c9e99f3..f136eebc5d 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -362,9 +362,8 @@ Session::locate (samplepos_t target_sample, bool with_roll, bool with_flush, boo } _last_roll_location = _last_roll_or_reversal_location = _transport_sample; - if (!synced_to_engine () || _transport_sample == _engine.transport_sample ()) { - Located (); /* EMIT SIGNAL */ - } + + Located (); /* EMIT SIGNAL */ } void |