mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
impl: use _ALL change_mask for everything
Instead of ~0
This commit is contained in:
parent
723ebcf438
commit
5e325f636c
4 changed files with 4 additions and 4 deletions
|
|
@ -275,7 +275,7 @@ global_bind(void *_data, struct pw_impl_client *client, uint32_t permissions,
|
|||
if (resource->id == 1)
|
||||
client->client_resource = resource;
|
||||
|
||||
this->info.change_mask = ~0;
|
||||
this->info.change_mask = PW_CLIENT_CHANGE_MASK_ALL;
|
||||
pw_client_resource_info(resource, &this->info);
|
||||
this->info.change_mask = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ global_bind(void *_data, struct pw_impl_client *client, uint32_t permissions,
|
|||
pw_log_debug(NAME" %p: bound to %d", this, resource->id);
|
||||
pw_global_add_resource(global, resource);
|
||||
|
||||
this->info.change_mask = ~0;
|
||||
this->info.change_mask = PW_FACTORY_CHANGE_MASK_ALL;
|
||||
pw_factory_resource_info(resource, &this->info);
|
||||
this->info.change_mask = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -742,7 +742,7 @@ global_bind(void *_data, struct pw_impl_client *client, uint32_t permissions,
|
|||
pw_log_debug(NAME" %p: bound to %d", this, resource->id);
|
||||
pw_global_add_resource(global, resource);
|
||||
|
||||
this->info.change_mask = ~0;
|
||||
this->info.change_mask = PW_LINK_CHANGE_MASK_ALL;
|
||||
pw_link_resource_info(resource, &this->info);
|
||||
this->info.change_mask = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ global_bind(void *_data, struct pw_impl_client *client, uint32_t permissions,
|
|||
pw_log_debug(NAME" %p: bound to %d", this, resource->id);
|
||||
pw_global_add_resource(global, resource);
|
||||
|
||||
this->info.change_mask = ~0;
|
||||
this->info.change_mask = PW_MODULE_CHANGE_MASK_ALL;
|
||||
pw_module_resource_info(resource, &this->info);
|
||||
this->info.change_mask = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue