mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pw_endpoint_proxy -> pw_endpoint
This commit is contained in:
parent
85103d128e
commit
9b53c65c72
10 changed files with 71 additions and 71 deletions
|
|
@ -358,7 +358,7 @@ static void endpoint_event_info(void *object, const struct pw_endpoint_info *upd
|
|||
}
|
||||
}
|
||||
if (n_subscribed > 0) {
|
||||
pw_endpoint_proxy_subscribe_params((struct pw_endpoint_proxy*)g->proxy,
|
||||
pw_endpoint_subscribe_params((struct pw_endpoint*)g->proxy,
|
||||
subscribed, n_subscribed);
|
||||
g->subscribed = true;
|
||||
}
|
||||
|
|
@ -444,8 +444,8 @@ static void endpoint_event_param(void *object, int seq,
|
|||
}
|
||||
}
|
||||
|
||||
static const struct pw_endpoint_proxy_events endpoint_events = {
|
||||
PW_VERSION_ENDPOINT_PROXY_EVENTS,
|
||||
static const struct pw_endpoint_events endpoint_events = {
|
||||
PW_VERSION_ENDPOINT_EVENTS,
|
||||
.info = endpoint_event_info,
|
||||
.param = endpoint_event_param,
|
||||
};
|
||||
|
|
@ -656,7 +656,7 @@ static int set_mask(pa_context *c, struct global *g)
|
|||
}
|
||||
|
||||
events = &endpoint_events;
|
||||
client_version = PW_VERSION_ENDPOINT_PROXY;
|
||||
client_version = PW_VERSION_ENDPOINT;
|
||||
destroy = endpoint_destroy;
|
||||
g->endpoint_info.volume = 1.0;
|
||||
g->endpoint_info.mute = false;
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ static void set_endpoint_volume(pa_context *c, struct global *g, const pa_cvolum
|
|||
}
|
||||
g->endpoint_info.mute = mute;
|
||||
|
||||
pw_endpoint_proxy_set_param((struct pw_endpoint_proxy*)g->proxy,
|
||||
pw_endpoint_set_param((struct pw_endpoint*)g->proxy,
|
||||
SPA_PARAM_Props, 0,
|
||||
spa_pod_builder_add_object(&b,
|
||||
SPA_TYPE_OBJECT_Props, SPA_PARAM_Props,
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ static int client_endpoint_create_link(void *object, const struct spa_dict *prop
|
|||
pw_properties_setf(p, PW_KEY_LINK_OUTPUT_NODE, "%d", endpoint->node->node->info->id);
|
||||
pw_properties_setf(p, PW_KEY_LINK_OUTPUT_PORT, "-1");
|
||||
|
||||
pw_endpoint_proxy_create_link((struct pw_endpoint_proxy*)obj->proxy, &p->dict);
|
||||
pw_endpoint_create_link((struct pw_endpoint*)obj->proxy, &p->dict);
|
||||
} else {
|
||||
pw_properties_setf(p, PW_KEY_LINK_INPUT_NODE, "%d", endpoint->node->node->info->id);
|
||||
pw_properties_setf(p, PW_KEY_LINK_INPUT_PORT, "-1");
|
||||
|
|
|
|||
|
|
@ -684,8 +684,8 @@ static void endpoint_event_info(void *object, const struct pw_endpoint_info *inf
|
|||
pw_proxy_sync(endpoint->obj.proxy, 1);
|
||||
}
|
||||
|
||||
static const struct pw_endpoint_proxy_events endpoint_events = {
|
||||
PW_VERSION_ENDPOINT_PROXY_EVENTS,
|
||||
static const struct pw_endpoint_events endpoint_events = {
|
||||
PW_VERSION_ENDPOINT_EVENTS,
|
||||
.info = endpoint_event_info,
|
||||
};
|
||||
|
||||
|
|
@ -734,7 +734,7 @@ static void endpoint_destroy(void *object)
|
|||
|
||||
static const struct object_info endpoint_info = {
|
||||
.type = PW_TYPE_INTERFACE_Endpoint,
|
||||
.version = PW_VERSION_ENDPOINT_PROXY,
|
||||
.version = PW_VERSION_ENDPOINT,
|
||||
.events = &endpoint_events,
|
||||
.size = sizeof(struct sm_endpoint),
|
||||
.init = endpoint_init,
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ static int link_endpoints(struct endpoint *endpoint, enum pw_direction direction
|
|||
pw_log_debug(NAME " %p: endpoint %d -> endpoint %d", impl,
|
||||
endpoint->id, peer->id);
|
||||
|
||||
pw_endpoint_proxy_create_link((struct pw_endpoint_proxy*)endpoint->obj->obj.proxy,
|
||||
pw_endpoint_create_link((struct pw_endpoint*)endpoint->obj->obj.proxy,
|
||||
&props->dict);
|
||||
|
||||
pw_properties_free(props);
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ static int client_endpoint_create_link(void *object, const struct spa_dict *prop
|
|||
res = -EINVAL;
|
||||
goto exit;
|
||||
}
|
||||
pw_endpoint_proxy_create_link((struct pw_endpoint_proxy*)obj->proxy, &p->dict);
|
||||
pw_endpoint_create_link((struct pw_endpoint*)obj->proxy, &p->dict);
|
||||
} else {
|
||||
pw_properties_setf(p, PW_KEY_LINK_INPUT_NODE, "%d", endpoint->node->id);
|
||||
pw_properties_setf(p, PW_KEY_LINK_INPUT_PORT, "-1");
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ extern "C" {
|
|||
|
||||
#define PW_VERSION_SESSION 0
|
||||
struct pw_session;
|
||||
#define PW_VERSION_ENDPOINT_PROXY 0
|
||||
struct pw_endpoint_proxy;
|
||||
#define PW_VERSION_ENDPOINT 0
|
||||
struct pw_endpoint;
|
||||
#define PW_VERSION_ENDPOINT_STREAM_PROXY 0
|
||||
struct pw_endpoint_stream_proxy;
|
||||
#define PW_VERSION_ENDPOINT_LINK 0
|
||||
|
|
@ -148,12 +148,12 @@ struct pw_session_methods {
|
|||
|
||||
/* Endpoint */
|
||||
|
||||
#define PW_ENDPOINT_PROXY_EVENT_INFO 0
|
||||
#define PW_ENDPOINT_PROXY_EVENT_PARAM 1
|
||||
#define PW_ENDPOINT_PROXY_EVENT_NUM 2
|
||||
#define PW_ENDPOINT_EVENT_INFO 0
|
||||
#define PW_ENDPOINT_EVENT_PARAM 1
|
||||
#define PW_ENDPOINT_EVENT_NUM 2
|
||||
|
||||
struct pw_endpoint_proxy_events {
|
||||
#define PW_VERSION_ENDPOINT_PROXY_EVENTS 0
|
||||
struct pw_endpoint_events {
|
||||
#define PW_VERSION_ENDPOINT_EVENTS 0
|
||||
uint32_t version; /**< version of this structure */
|
||||
|
||||
/**
|
||||
|
|
@ -179,20 +179,20 @@ struct pw_endpoint_proxy_events {
|
|||
const struct spa_pod *param);
|
||||
};
|
||||
|
||||
#define PW_ENDPOINT_PROXY_METHOD_ADD_LISTENER 0
|
||||
#define PW_ENDPOINT_PROXY_METHOD_SUBSCRIBE_PARAMS 1
|
||||
#define PW_ENDPOINT_PROXY_METHOD_ENUM_PARAMS 2
|
||||
#define PW_ENDPOINT_PROXY_METHOD_SET_PARAM 3
|
||||
#define PW_ENDPOINT_PROXY_METHOD_CREATE_LINK 4
|
||||
#define PW_ENDPOINT_PROXY_METHOD_NUM 5
|
||||
#define PW_ENDPOINT_METHOD_ADD_LISTENER 0
|
||||
#define PW_ENDPOINT_METHOD_SUBSCRIBE_PARAMS 1
|
||||
#define PW_ENDPOINT_METHOD_ENUM_PARAMS 2
|
||||
#define PW_ENDPOINT_METHOD_SET_PARAM 3
|
||||
#define PW_ENDPOINT_METHOD_CREATE_LINK 4
|
||||
#define PW_ENDPOINT_METHOD_NUM 5
|
||||
|
||||
struct pw_endpoint_proxy_methods {
|
||||
#define PW_VERSION_ENDPOINT_PROXY_METHODS 0
|
||||
struct pw_endpoint_methods {
|
||||
#define PW_VERSION_ENDPOINT_METHODS 0
|
||||
uint32_t version; /**< version of this structure */
|
||||
|
||||
int (*add_listener) (void *object,
|
||||
struct spa_hook *listener,
|
||||
const struct pw_endpoint_proxy_events *events,
|
||||
const struct pw_endpoint_events *events,
|
||||
void *data);
|
||||
|
||||
/**
|
||||
|
|
@ -235,20 +235,20 @@ struct pw_endpoint_proxy_methods {
|
|||
int (*create_link) (void *object, const struct spa_dict *props);
|
||||
};
|
||||
|
||||
#define pw_endpoint_proxy_method(o,method,version,...) \
|
||||
#define pw_endpoint_method(o,method,version,...) \
|
||||
({ \
|
||||
int _res = -ENOTSUP; \
|
||||
spa_interface_call_res((struct spa_interface*)o, \
|
||||
struct pw_endpoint_proxy_methods, _res, \
|
||||
struct pw_endpoint_methods, _res, \
|
||||
method, version, ##__VA_ARGS__); \
|
||||
_res; \
|
||||
})
|
||||
|
||||
#define pw_endpoint_proxy_add_listener(c,...) pw_endpoint_proxy_method(c,add_listener,0,__VA_ARGS__)
|
||||
#define pw_endpoint_proxy_subscribe_params(c,...) pw_endpoint_proxy_method(c,subscribe_params,0,__VA_ARGS__)
|
||||
#define pw_endpoint_proxy_enum_params(c,...) pw_endpoint_proxy_method(c,enum_params,0,__VA_ARGS__)
|
||||
#define pw_endpoint_proxy_set_param(c,...) pw_endpoint_proxy_method(c,set_param,0,__VA_ARGS__)
|
||||
#define pw_endpoint_proxy_create_link(c,...) pw_endpoint_proxy_method(c,create_link,0,__VA_ARGS__)
|
||||
#define pw_endpoint_add_listener(c,...) pw_endpoint_method(c,add_listener,0,__VA_ARGS__)
|
||||
#define pw_endpoint_subscribe_params(c,...) pw_endpoint_method(c,subscribe_params,0,__VA_ARGS__)
|
||||
#define pw_endpoint_enum_params(c,...) pw_endpoint_method(c,enum_params,0,__VA_ARGS__)
|
||||
#define pw_endpoint_set_param(c,...) pw_endpoint_method(c,set_param,0,__VA_ARGS__)
|
||||
#define pw_endpoint_create_link(c,...) pw_endpoint_method(c,create_link,0,__VA_ARGS__)
|
||||
|
||||
/* Endpoint Stream */
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ struct resource_data {
|
|||
};
|
||||
|
||||
#define pw_endpoint_resource(r,m,v,...) \
|
||||
pw_resource_call(r,struct pw_endpoint_proxy_events,m,v,__VA_ARGS__)
|
||||
pw_resource_call(r,struct pw_endpoint_events,m,v,__VA_ARGS__)
|
||||
#define pw_endpoint_resource_info(r,...) \
|
||||
pw_endpoint_resource(r,info,0,__VA_ARGS__)
|
||||
#define pw_endpoint_resource_param(r,...) \
|
||||
|
|
@ -139,8 +139,8 @@ static int endpoint_create_link(void *object, const struct spa_dict *props)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static const struct pw_endpoint_proxy_methods methods = {
|
||||
PW_VERSION_ENDPOINT_PROXY_METHODS,
|
||||
static const struct pw_endpoint_methods methods = {
|
||||
PW_VERSION_ENDPOINT_METHODS,
|
||||
.subscribe_params = endpoint_subscribe_params,
|
||||
.enum_params = endpoint_enum_params,
|
||||
.set_param = endpoint_set_param,
|
||||
|
|
@ -328,7 +328,7 @@ int endpoint_init(struct endpoint *this,
|
|||
|
||||
this->global = pw_global_new (context,
|
||||
PW_TYPE_INTERFACE_Endpoint,
|
||||
PW_VERSION_ENDPOINT_PROXY,
|
||||
PW_VERSION_ENDPOINT,
|
||||
properties, endpoint_bind, this);
|
||||
if (!this->global)
|
||||
goto no_mem;
|
||||
|
|
|
|||
|
|
@ -1490,7 +1490,7 @@ static void endpoint_marshal_info (void *object,
|
|||
struct spa_pod_builder *b;
|
||||
|
||||
b = pw_protocol_native_begin_resource(resource,
|
||||
PW_ENDPOINT_PROXY_EVENT_INFO, NULL);
|
||||
PW_ENDPOINT_EVENT_INFO, NULL);
|
||||
|
||||
marshal_pw_endpoint_info(b, info);
|
||||
|
||||
|
|
@ -1505,7 +1505,7 @@ static void endpoint_marshal_param (void *object, int seq, uint32_t id,
|
|||
struct spa_pod_builder *b;
|
||||
|
||||
b = pw_protocol_native_begin_resource(resource,
|
||||
PW_ENDPOINT_PROXY_EVENT_PARAM, NULL);
|
||||
PW_ENDPOINT_EVENT_PARAM, NULL);
|
||||
|
||||
spa_pod_builder_add_struct(b,
|
||||
SPA_POD_Int(seq),
|
||||
|
|
@ -1519,7 +1519,7 @@ static void endpoint_marshal_param (void *object, int seq, uint32_t id,
|
|||
|
||||
static int endpoint_marshal_add_listener(void *object,
|
||||
struct spa_hook *listener,
|
||||
const struct pw_endpoint_proxy_events *events,
|
||||
const struct pw_endpoint_events *events,
|
||||
void *data)
|
||||
{
|
||||
struct pw_proxy *proxy = object;
|
||||
|
|
@ -1534,7 +1534,7 @@ static int endpoint_marshal_subscribe_params(void *object,
|
|||
struct spa_pod_builder *b;
|
||||
|
||||
b = pw_protocol_native_begin_proxy(proxy,
|
||||
PW_ENDPOINT_PROXY_METHOD_SUBSCRIBE_PARAMS, NULL);
|
||||
PW_ENDPOINT_METHOD_SUBSCRIBE_PARAMS, NULL);
|
||||
|
||||
spa_pod_builder_add_struct(b,
|
||||
SPA_POD_Array(sizeof(uint32_t), SPA_TYPE_Id, n_ids, ids));
|
||||
|
|
@ -1552,7 +1552,7 @@ static int endpoint_marshal_enum_params(void *object,
|
|||
struct spa_pod_builder *b;
|
||||
|
||||
b = pw_protocol_native_begin_proxy(proxy,
|
||||
PW_ENDPOINT_PROXY_METHOD_ENUM_PARAMS, &msg);
|
||||
PW_ENDPOINT_METHOD_ENUM_PARAMS, &msg);
|
||||
|
||||
spa_pod_builder_add_struct(b,
|
||||
SPA_POD_Int(SPA_RESULT_RETURN_ASYNC(msg->seq)),
|
||||
|
|
@ -1572,7 +1572,7 @@ static int endpoint_marshal_set_param(void *object,
|
|||
struct spa_pod_builder *b;
|
||||
|
||||
b = pw_protocol_native_begin_proxy(proxy,
|
||||
PW_ENDPOINT_PROXY_METHOD_SET_PARAM, NULL);
|
||||
PW_ENDPOINT_METHOD_SET_PARAM, NULL);
|
||||
|
||||
spa_pod_builder_add_struct(b,
|
||||
SPA_POD_Id(id),
|
||||
|
|
@ -1589,7 +1589,7 @@ static int endpoint_marshal_create_link(void *object,
|
|||
struct spa_pod_builder *b;
|
||||
|
||||
b = pw_protocol_native_begin_proxy(proxy,
|
||||
PW_ENDPOINT_PROXY_METHOD_CREATE_LINK, NULL);
|
||||
PW_ENDPOINT_METHOD_CREATE_LINK, NULL);
|
||||
|
||||
push_dict(b, props);
|
||||
|
||||
|
|
@ -1609,7 +1609,7 @@ static int endpoint_demarshal_info(void *object,
|
|||
|
||||
demarshal_pw_endpoint_info(&prs, &f, &info);
|
||||
|
||||
return pw_proxy_notify(proxy, struct pw_endpoint_proxy_events,
|
||||
return pw_proxy_notify(proxy, struct pw_endpoint_events,
|
||||
info, 0, &info);
|
||||
}
|
||||
|
||||
|
|
@ -1631,7 +1631,7 @@ static int endpoint_demarshal_param(void *object,
|
|||
SPA_POD_Pod(¶m)) < 0)
|
||||
return -EINVAL;
|
||||
|
||||
return pw_proxy_notify(proxy, struct pw_endpoint_proxy_events,
|
||||
return pw_proxy_notify(proxy, struct pw_endpoint_events,
|
||||
param, 0, seq, id, index, next, param);
|
||||
}
|
||||
|
||||
|
|
@ -1651,7 +1651,7 @@ static int endpoint_demarshal_subscribe_params(void *object,
|
|||
if (ctype != SPA_TYPE_Id)
|
||||
return -EINVAL;
|
||||
|
||||
return pw_resource_notify(resource, struct pw_endpoint_proxy_methods,
|
||||
return pw_resource_notify(resource, struct pw_endpoint_methods,
|
||||
subscribe_params, 0, ids, n_ids);
|
||||
}
|
||||
|
||||
|
|
@ -1673,7 +1673,7 @@ static int endpoint_demarshal_enum_params(void *object,
|
|||
SPA_POD_Pod(&filter)) < 0)
|
||||
return -EINVAL;
|
||||
|
||||
return pw_resource_notify(resource, struct pw_endpoint_proxy_methods,
|
||||
return pw_resource_notify(resource, struct pw_endpoint_methods,
|
||||
enum_params, 0, seq, id, index, num, filter);
|
||||
}
|
||||
|
||||
|
|
@ -1692,7 +1692,7 @@ static int endpoint_demarshal_set_param(void *object,
|
|||
SPA_POD_Pod(¶m)) < 0)
|
||||
return -EINVAL;
|
||||
|
||||
return pw_resource_notify(resource, struct pw_endpoint_proxy_methods,
|
||||
return pw_resource_notify(resource, struct pw_endpoint_methods,
|
||||
set_param, 0, id, flags, param);
|
||||
}
|
||||
|
||||
|
|
@ -1708,25 +1708,25 @@ static int endpoint_demarshal_create_link(void *object,
|
|||
|
||||
parse_dict(&prs, &f, &props);
|
||||
|
||||
return pw_resource_notify(resource, struct pw_endpoint_proxy_methods,
|
||||
return pw_resource_notify(resource, struct pw_endpoint_methods,
|
||||
create_link, 0, &props);
|
||||
}
|
||||
|
||||
static const struct pw_endpoint_proxy_events pw_protocol_native_endpoint_event_marshal = {
|
||||
PW_VERSION_ENDPOINT_PROXY_EVENTS,
|
||||
static const struct pw_endpoint_events pw_protocol_native_endpoint_event_marshal = {
|
||||
PW_VERSION_ENDPOINT_EVENTS,
|
||||
.info = endpoint_marshal_info,
|
||||
.param = endpoint_marshal_param,
|
||||
};
|
||||
|
||||
static const struct pw_protocol_native_demarshal
|
||||
pw_protocol_native_endpoint_event_demarshal[PW_ENDPOINT_PROXY_EVENT_NUM] =
|
||||
pw_protocol_native_endpoint_event_demarshal[PW_ENDPOINT_EVENT_NUM] =
|
||||
{
|
||||
[PW_ENDPOINT_PROXY_EVENT_INFO] = { endpoint_demarshal_info, 0 },
|
||||
[PW_ENDPOINT_PROXY_EVENT_PARAM] = { endpoint_demarshal_param, 0 },
|
||||
[PW_ENDPOINT_EVENT_INFO] = { endpoint_demarshal_info, 0 },
|
||||
[PW_ENDPOINT_EVENT_PARAM] = { endpoint_demarshal_param, 0 },
|
||||
};
|
||||
|
||||
static const struct pw_endpoint_proxy_methods pw_protocol_native_endpoint_method_marshal = {
|
||||
PW_VERSION_ENDPOINT_PROXY_METHODS,
|
||||
static const struct pw_endpoint_methods pw_protocol_native_endpoint_method_marshal = {
|
||||
PW_VERSION_ENDPOINT_METHODS,
|
||||
.add_listener = endpoint_marshal_add_listener,
|
||||
.subscribe_params = endpoint_marshal_subscribe_params,
|
||||
.enum_params = endpoint_marshal_enum_params,
|
||||
|
|
@ -1735,21 +1735,21 @@ static const struct pw_endpoint_proxy_methods pw_protocol_native_endpoint_method
|
|||
};
|
||||
|
||||
static const struct pw_protocol_native_demarshal
|
||||
pw_protocol_native_endpoint_method_demarshal[PW_ENDPOINT_PROXY_METHOD_NUM] =
|
||||
pw_protocol_native_endpoint_method_demarshal[PW_ENDPOINT_METHOD_NUM] =
|
||||
{
|
||||
[PW_ENDPOINT_PROXY_METHOD_ADD_LISTENER] = { NULL, 0 },
|
||||
[PW_ENDPOINT_PROXY_METHOD_SUBSCRIBE_PARAMS] = { endpoint_demarshal_subscribe_params, 0 },
|
||||
[PW_ENDPOINT_PROXY_METHOD_ENUM_PARAMS] = { endpoint_demarshal_enum_params, 0 },
|
||||
[PW_ENDPOINT_PROXY_METHOD_SET_PARAM] = { endpoint_demarshal_set_param, PW_PERM_W },
|
||||
[PW_ENDPOINT_PROXY_METHOD_CREATE_LINK] = { endpoint_demarshal_create_link, PW_PERM_X },
|
||||
[PW_ENDPOINT_METHOD_ADD_LISTENER] = { NULL, 0 },
|
||||
[PW_ENDPOINT_METHOD_SUBSCRIBE_PARAMS] = { endpoint_demarshal_subscribe_params, 0 },
|
||||
[PW_ENDPOINT_METHOD_ENUM_PARAMS] = { endpoint_demarshal_enum_params, 0 },
|
||||
[PW_ENDPOINT_METHOD_SET_PARAM] = { endpoint_demarshal_set_param, PW_PERM_W },
|
||||
[PW_ENDPOINT_METHOD_CREATE_LINK] = { endpoint_demarshal_create_link, PW_PERM_X },
|
||||
};
|
||||
|
||||
static const struct pw_protocol_marshal pw_protocol_native_endpoint_marshal = {
|
||||
PW_TYPE_INTERFACE_Endpoint,
|
||||
PW_VERSION_ENDPOINT_PROXY,
|
||||
PW_VERSION_ENDPOINT,
|
||||
0,
|
||||
PW_ENDPOINT_PROXY_METHOD_NUM,
|
||||
PW_ENDPOINT_PROXY_EVENT_NUM,
|
||||
PW_ENDPOINT_METHOD_NUM,
|
||||
PW_ENDPOINT_EVENT_NUM,
|
||||
&pw_protocol_native_endpoint_method_marshal,
|
||||
&pw_protocol_native_endpoint_method_demarshal,
|
||||
&pw_protocol_native_endpoint_event_marshal,
|
||||
|
|
|
|||
|
|
@ -996,8 +996,8 @@ static void endpoint_event_info(void *object,
|
|||
}
|
||||
}
|
||||
|
||||
static const struct pw_endpoint_proxy_events endpoint_events = {
|
||||
PW_VERSION_ENDPOINT_PROXY_EVENTS,
|
||||
static const struct pw_endpoint_events endpoint_events = {
|
||||
PW_VERSION_ENDPOINT_EVENTS,
|
||||
.info = endpoint_event_info,
|
||||
.param = event_param
|
||||
};
|
||||
|
|
@ -1146,7 +1146,7 @@ static bool bind_global(struct remote_data *rd, struct global *global, char **er
|
|||
break;
|
||||
case PW_TYPE_INTERFACE_Endpoint:
|
||||
events = &endpoint_events;
|
||||
client_version = PW_VERSION_ENDPOINT_PROXY;
|
||||
client_version = PW_VERSION_ENDPOINT;
|
||||
destroy = (pw_destroy_t) endpoint_info_free;
|
||||
info_func = info_endpoint;
|
||||
break;
|
||||
|
|
@ -1468,7 +1468,7 @@ static bool do_enum_params(struct data *data, const char *cmd, char *args, char
|
|||
param_id, 0, 0, NULL);
|
||||
break;
|
||||
case PW_TYPE_INTERFACE_Endpoint:
|
||||
pw_endpoint_proxy_enum_params((struct pw_endpoint_proxy*)global->proxy, 0,
|
||||
pw_endpoint_enum_params((struct pw_endpoint*)global->proxy, 0,
|
||||
param_id, 0, 0, NULL);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue