mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: improve GET_SERVER_INFO
We don't need to bind to the core object again, we can just use the events on the manager core. We don't actually have info when the Core is added so don't try to use it to get defaults for the client. Use the manager core info in server info.
This commit is contained in:
parent
5a98a9b1cd
commit
b472abe65b
3 changed files with 28 additions and 31 deletions
|
|
@ -58,6 +58,8 @@ struct pw_manager {
|
|||
struct pw_core *core;
|
||||
struct pw_registry *registry;
|
||||
|
||||
struct pw_core_info *info;
|
||||
|
||||
uint32_t n_objects;
|
||||
struct spa_list object_list;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue