mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
update for type changes
This commit is contained in:
parent
4c7fd98479
commit
5fb984a647
3 changed files with 12 additions and 12 deletions
|
|
@ -71,17 +71,17 @@ static int ensure_global(pa_context *c, struct global *g)
|
|||
if (g->proxy != NULL)
|
||||
return 0;
|
||||
|
||||
if (g->type == PW_ID_INTERFACE_Node) {
|
||||
if (g->type == PW_TYPE_INTERFACE_Node) {
|
||||
events = &node_events;
|
||||
client_version = PW_VERSION_NODE;
|
||||
destroy = (pw_destroy_t) pw_node_info_free;
|
||||
}
|
||||
else if (g->type == PW_ID_INTERFACE_Module) {
|
||||
else if (g->type == PW_TYPE_INTERFACE_Module) {
|
||||
events = &module_events;
|
||||
client_version = PW_VERSION_MODULE;
|
||||
destroy = (pw_destroy_t) pw_module_info_free;
|
||||
}
|
||||
else if (g->type == PW_ID_INTERFACE_Client) {
|
||||
else if (g->type == PW_TYPE_INTERFACE_Client) {
|
||||
events = &client_events;
|
||||
client_version = PW_VERSION_CLIENT;
|
||||
destroy = (pw_destroy_t) pw_client_info_free;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue