Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jack: fix synchronization while repositioning
While using JACK Timebase support and being registered as Timebase master MusE appends the JACKs current transport position with bar, beat, tick, tempo, measure, etc (BBT) information via `timebase_callback`. Other clients can then trigger tempo changes, relocations etc. using these BBT infos. But when repositioning to another location MusE did use the `jack_transport_locate` method of the JACK API, which only sends frame information. Thus, the JACK server will drop BBT support for a single process cycle and other clients need to figure out the new transport position by frame alone (which most probably will not work correctly when they did already handled tempo or measure changes). Instead, MusE does now use `jack_transport_reposition` in case it is registered as Timebase master. Using this method not just the new frame but all BBT information similar to the `timebase_callback` are provided.
- Loading branch information