mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
remove unused functions
This commit is contained in:
parent
9ea266f789
commit
8ae7577689
4 changed files with 1 additions and 18 deletions
|
|
@ -152,16 +152,6 @@ static const struct pw_global_events global_events = {
|
||||||
.bind = global_bind,
|
.bind = global_bind,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct pw_module * pw_core_find_module(struct pw_core *core, const char *filename)
|
|
||||||
{
|
|
||||||
struct pw_module *module;
|
|
||||||
spa_list_for_each(module, &core->module_list, link) {
|
|
||||||
if (strcmp(module->info.filename, filename) == 0)
|
|
||||||
return module;
|
|
||||||
}
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Load a module
|
/** Load a module
|
||||||
*
|
*
|
||||||
* \param core a \ref pw_core
|
* \param core a \ref pw_core
|
||||||
|
|
|
||||||
|
|
@ -91,10 +91,6 @@ void pw_module_add_listener(struct pw_module *module,
|
||||||
/** Destroy a module */
|
/** Destroy a module */
|
||||||
void pw_module_destroy(struct pw_module *module);
|
void pw_module_destroy(struct pw_module *module);
|
||||||
|
|
||||||
/** Find a module by filename */
|
|
||||||
struct pw_module *
|
|
||||||
pw_core_find_module(struct pw_core *core, const char *filename);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ const char *pw_remote_state_as_string(enum pw_remote_state state)
|
||||||
return "invalid-state";
|
return "invalid-state";
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
pw_remote_update_state(struct pw_remote *remote, enum pw_remote_state state, const char *fmt, ...)
|
pw_remote_update_state(struct pw_remote *remote, enum pw_remote_state state, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
enum pw_remote_state old = remote->state;
|
enum pw_remote_state old = remote->state;
|
||||||
|
|
|
||||||
|
|
@ -197,9 +197,6 @@ struct pw_proxy *pw_remote_find_proxy(struct pw_remote *remote, uint32_t id);
|
||||||
/** Disconnect from the remote PipeWire. \memberof pw_remote */
|
/** Disconnect from the remote PipeWire. \memberof pw_remote */
|
||||||
int pw_remote_disconnect(struct pw_remote *remote);
|
int pw_remote_disconnect(struct pw_remote *remote);
|
||||||
|
|
||||||
/** Update the state of the remote, mostly used by protocols */
|
|
||||||
int pw_remote_update_state(struct pw_remote *remote, enum pw_remote_state state, const char *fmt, ...);
|
|
||||||
|
|
||||||
/** run a local node in a remote graph */
|
/** run a local node in a remote graph */
|
||||||
struct pw_proxy *pw_remote_export(struct pw_remote *remote, struct pw_node *node);
|
struct pw_proxy *pw_remote_export(struct pw_remote *remote, struct pw_node *node);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue