mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
3cbda26f07
commit
33f1a713cd
3 changed files with 8 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue