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
|
|
@ -32,7 +32,7 @@ int client_endpoint_factory_init(struct pw_module *module);
|
|||
/* client-session.c */
|
||||
int client_session_factory_init(struct pw_module *module);
|
||||
/* protocol-native.c */
|
||||
struct pw_protocol *pw_protocol_native_ext_session_manager_init(struct pw_core *core);
|
||||
struct pw_protocol *pw_protocol_native_ext_session_manager_init(struct pw_context *context);
|
||||
|
||||
static const struct spa_dict_item module_props[] = {
|
||||
{ PW_KEY_MODULE_AUTHOR, "George Kiagiadakis <george.kiagiadakis@collabora.com>" },
|
||||
|
|
@ -43,12 +43,12 @@ static const struct spa_dict_item module_props[] = {
|
|||
SPA_EXPORT
|
||||
int pipewire__module_init(struct pw_module *module, const char *args)
|
||||
{
|
||||
struct pw_core *core = pw_module_get_core(module);
|
||||
struct pw_context *context = pw_module_get_context(module);
|
||||
|
||||
client_endpoint_factory_init(module);
|
||||
client_session_factory_init(module);
|
||||
|
||||
pw_protocol_native_ext_session_manager_init(core);
|
||||
pw_protocol_native_ext_session_manager_init(context);
|
||||
|
||||
pw_module_update_properties(module, &SPA_DICT_INIT_ARRAY(module_props));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue