Emit Locate() in ::locate() even if we are not synced_to_engine()
This reverts05c77db773(revert necessary due to4637c49838) Since4637c49838we 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user