mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pw_core -> pw_context
The proxy API is the one that we would like to expose for applications and the other API is used internally when implementing modules or factories. The current pw_core object is really a context for all objects so name it that way. It also makes it possible to rename pw_core_proxy to pw_proxy later.
This commit is contained in:
parent
42103a8218
commit
8ea78c2e3f
113 changed files with 905 additions and 906 deletions
|
|
@ -56,7 +56,7 @@ struct impl {
|
|||
struct sm_media_session *session;
|
||||
struct spa_hook listener;
|
||||
|
||||
struct pw_core *core;
|
||||
struct pw_context *context;
|
||||
|
||||
struct spa_list endpoint_list;
|
||||
int seq;
|
||||
|
|
@ -474,6 +474,9 @@ static int rescan_endpoint(struct impl *impl, struct endpoint *ep)
|
|||
peer = sm_object_get_data(obj, SESSION_KEY);
|
||||
goto do_link;
|
||||
}
|
||||
if (obj->type == PW_TYPE_INTERFACE_Node) {
|
||||
pw_log_debug(NAME " %p: target is node", impl);
|
||||
}
|
||||
}
|
||||
else {
|
||||
str = spa_dict_lookup(props, PW_KEY_NODE_DONT_RECONNECT);
|
||||
|
|
@ -542,7 +545,7 @@ void *sm_policy_ep_start(struct sm_media_session *session)
|
|||
return NULL;
|
||||
|
||||
impl->session = session;
|
||||
impl->core = session->core;
|
||||
impl->context = session->context;
|
||||
|
||||
spa_list_init(&impl->endpoint_list);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue