impl-node: set active_driver_id

This is the driver id that the client has received and is using right
now. We don't use this yet but it could be used in the future to check
if a client has the most up to date info.
This commit is contained in:
Wim Taymans 2024-06-18 09:47:33 +02:00
parent 3cbda26f07
commit 33f1a713cd
3 changed files with 8 additions and 4 deletions

View file

@ -2239,6 +2239,7 @@ static int client_node_set_io(void *data,
c->position = ptr;
c->driver_id = ptr ? c->position->clock.id : SPA_ID_INVALID;
update_driver_activation(c);
c->activation->active_driver_id = c->driver_id;
queue_memmap_free(c, old);
old = NULL;
break;