mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
flatpak: add flatpak module
Pass LoopUtils to callbacks to make it easier to reschedule timeouts.
This commit is contained in:
parent
a5b39019d1
commit
be528ba7c2
17 changed files with 826 additions and 259 deletions
|
|
@ -102,6 +102,7 @@ pinos_client_new (PinosCore *core,
|
|||
this->properties = properties;
|
||||
|
||||
spa_list_init (&this->resource_list);
|
||||
pinos_signal_init (&this->properties_changed);
|
||||
pinos_signal_init (&this->resource_added);
|
||||
pinos_signal_init (&this->resource_removed);
|
||||
|
||||
|
|
@ -185,6 +186,8 @@ pinos_client_update_properties (PinosClient *client,
|
|||
client->info.change_mask = 1 << 0;
|
||||
client->info.props = client->properties ? &client->properties->dict : NULL;
|
||||
|
||||
pinos_signal_emit (&client->properties_changed, client);
|
||||
|
||||
spa_list_for_each (resource, &client->resource_list, link) {
|
||||
pinos_client_notify_info (resource, &client->info);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue