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:
Wim Taymans 2019-12-10 18:19:56 +01:00
parent 42103a8218
commit 8ea78c2e3f
113 changed files with 905 additions and 906 deletions

View file

@ -27,7 +27,7 @@
#include <spa/node/node.h>
#include <pipewire/core.h>
#include <pipewire/context.h>
#include <pipewire/node.h>
#ifdef __cplusplus
@ -41,7 +41,7 @@ enum pw_spa_node_flags {
};
struct pw_node *
pw_spa_node_new(struct pw_core *core,
pw_spa_node_new(struct pw_context *context,
enum pw_spa_node_flags flags,
struct spa_node *node,
struct spa_handle *handle,
@ -49,7 +49,7 @@ pw_spa_node_new(struct pw_core *core,
size_t user_data_size);
struct pw_node *
pw_spa_node_load(struct pw_core *core,
pw_spa_node_load(struct pw_context *context,
const char *factory_name,
enum pw_spa_node_flags flags,
struct pw_properties *properties,