mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -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
|
|
@ -30,11 +30,11 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <pipewire/core.h>
|
||||
#include <pipewire/context.h>
|
||||
|
||||
struct pw_command;
|
||||
|
||||
typedef int (*pw_command_func_t) (struct pw_command *command, struct pw_core *core, char **err);
|
||||
typedef int (*pw_command_func_t) (struct pw_command *command, struct pw_context *context, char **err);
|
||||
|
||||
/** \class pw_command
|
||||
*
|
||||
|
|
@ -54,7 +54,7 @@ pw_command_parse(struct pw_properties *properties, const char *line, char **err)
|
|||
void
|
||||
pw_command_free(struct pw_command *command);
|
||||
|
||||
int pw_command_run(struct pw_command *command, struct pw_core *core, char **err);
|
||||
int pw_command_run(struct pw_command *command, struct pw_context *context, char **err);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue