impl-node: add node.transport.sync property

When the node support transport sync. That is, when it will clear the
pending_sync flag from its activation area when it completed a new
seek.

Before this patch, the pending sync was always automatically cleared,
which broke some applications that are time masters such as bitwig.

Fixes #1589
This commit is contained in:
Wim Taymans 2021-09-14 11:00:08 +02:00
parent 47a46e198f
commit 7543ad0766
3 changed files with 8 additions and 3 deletions

View file

@ -3078,6 +3078,7 @@ jack_client_t * jack_client_open (const char *client_name,
pw_properties_set(client->props, PW_KEY_MEDIA_ROLE, "DSP");
if (pw_properties_get(client->props, PW_KEY_NODE_ALWAYS_PROCESS) == NULL)
pw_properties_set(client->props, PW_KEY_NODE_ALWAYS_PROCESS, "true");
pw_properties_set(client->props, "node.transport.sync", "true");
client->node = pw_core_create_object(client->core,
"client-node",