mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pw_client_proxy -> pw_client
This commit is contained in:
parent
aa378417c2
commit
a8f1d756c3
17 changed files with 108 additions and 108 deletions
|
|
@ -489,8 +489,8 @@ static void set_permissions(struct data *data)
|
|||
permissions[1].id = SPA_ID_INVALID;
|
||||
permissions[1].permissions = PW_PERM_R;
|
||||
|
||||
pw_client_proxy_update_permissions(
|
||||
pw_core_get_client_proxy(data->core),
|
||||
pw_client_update_permissions(
|
||||
pw_core_get_client(data->core),
|
||||
2, permissions);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -287,8 +287,8 @@ static void client_event_info(void *object, const struct pw_client_info *info)
|
|||
pw_proxy_sync(client->obj.proxy, 1);
|
||||
}
|
||||
|
||||
static const struct pw_client_proxy_events client_events = {
|
||||
PW_VERSION_CLIENT_PROXY_EVENTS,
|
||||
static const struct pw_client_events client_events = {
|
||||
PW_VERSION_CLIENT_EVENTS,
|
||||
.info = client_event_info,
|
||||
};
|
||||
|
||||
|
|
@ -301,7 +301,7 @@ static void client_destroy(void *object)
|
|||
|
||||
static const struct object_info client_info = {
|
||||
.type = PW_TYPE_INTERFACE_Client,
|
||||
.version = PW_VERSION_CLIENT_PROXY,
|
||||
.version = PW_VERSION_CLIENT,
|
||||
.events = &client_events,
|
||||
.size = sizeof(struct sm_client),
|
||||
.init = NULL,
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ static int rescan_endpoint(struct impl *impl, struct endpoint *ep)
|
|||
|
||||
obj = sm_media_session_find_object(impl->session, ep->client_id);
|
||||
if (obj && obj->type == PW_TYPE_INTERFACE_Client) {
|
||||
pw_client_proxy_error((struct pw_client_proxy*)obj->proxy,
|
||||
pw_client_error((struct pw_client*)obj->proxy,
|
||||
ep->id, -ENOENT, "no endpoint available");
|
||||
}
|
||||
return -ENOENT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue