mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
global: add serial number
Add a global serial number for each global object. We can use this to uniquely define each global.
This commit is contained in:
parent
dd62b12a1f
commit
59c4975750
2 changed files with 9 additions and 3 deletions
|
|
@ -330,6 +330,7 @@ struct pw_global {
|
|||
|
||||
pw_global_bind_func_t func; /**< bind function */
|
||||
void *object; /**< object associated with the interface */
|
||||
uint64_t serial; /**< increasing serial number */
|
||||
|
||||
struct spa_list resource_list; /**< The list of resources of this global */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue