impl-node: start sync after reposition

After we get a reposition request, bring the state to the SYNC state
again so that clients can align with the new position.

Fixes a problem with reposition when using the jack transport.

Fixes #1907
This commit is contained in:
Wim Taymans 2021-12-22 19:53:28 +01:00
parent 62660c1e87
commit f5908dbddf
2 changed files with 8 additions and 1 deletions

View file

@ -5690,6 +5690,7 @@ int jack_transport_reposition (jack_client_t *client,
return -EINVAL;
pw_log_debug("frame:%u", pos->frame);
spa_zero(na->reposition);
na->reposition.flags = 0;
na->reposition.start = 0;
na->reposition.duration = 0;