Make Session::backend_sync_callback() emit Session::Located
authorJohannes Mueller <github@johannes-mueller.org>
Fri, 9 Jun 2017 19:24:57 +0000 (21:24 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 10 Jun 2017 16:30:42 +0000 (18:30 +0200)
commit2770444b0c6893c78d340b3d6c1a4e306be8b960
tree015de3d88387a95dcb44fc5e379d6bf6b9840766
parentae837b49ed8d00c484cf7e99f3485e67c94daf79
Make Session::backend_sync_callback() emit Session::Located

If we sync to jackd AudioEngine::transport_frame() is not yet updated when
Session emits Located. Then the playhead ends up in an obsolete
position. Therefore we emit Session::Located() also from within
Session::backend_sync_callback() as that is called when AudioEngine is done
with the relocation.
libs/ardour/session_time.cc