mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Revert "global: limit the id to 24 bits"
This reverts commit b8f8409980.
This commit is contained in:
parent
e68dc49666
commit
b48864e77d
1 changed files with 4 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
PW_LOG_TOPIC_EXTERN(log_global);
|
||||
#define PW_LOG_TOPIC_DEFAULT log_global
|
||||
|
||||
static uint32_t serial = 0;
|
||||
static uint64_t serial = 0;
|
||||
|
||||
/** \cond */
|
||||
struct impl {
|
||||
|
|
@ -96,7 +96,9 @@ pw_global_new(struct pw_context *context,
|
|||
this->func = func;
|
||||
this->object = object;
|
||||
this->properties = properties;
|
||||
this->id = serial++ & 0xffffff;
|
||||
this->id = serial++;
|
||||
if ((uint32_t)this->id == SPA_ID_INVALID)
|
||||
this->id = serial++;
|
||||
|
||||
spa_list_init(&this->resource_list);
|
||||
spa_hook_list_init(&this->listener_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue