mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
|
|
@ -267,7 +267,7 @@ static int session_bind(void *_data, struct pw_client *client,
|
|||
|
||||
int session_init(struct session *this,
|
||||
struct client_session *client_sess,
|
||||
struct pw_core *core,
|
||||
struct pw_context *context,
|
||||
struct pw_properties *properties)
|
||||
{
|
||||
const char *keys[] = {
|
||||
|
|
@ -287,7 +287,7 @@ int session_init(struct session *this,
|
|||
|
||||
pw_properties_update_keys(properties, &this->props->dict, keys);
|
||||
|
||||
this->global = pw_global_new (core,
|
||||
this->global = pw_global_new (context,
|
||||
PW_TYPE_INTERFACE_Session,
|
||||
PW_VERSION_SESSION_PROXY,
|
||||
properties, session_bind, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue