mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-13 05:33:55 -04:00
module: fix registration of modules
Don't fail when protocol-native is already registered.
This commit is contained in:
parent
91d54364fc
commit
589e3d977c
10 changed files with 50 additions and 36 deletions
|
|
@ -63,12 +63,14 @@ struct pw_module {
|
|||
typedef bool (*pw_module_init_func_t) (struct pw_module *module, char *args);
|
||||
|
||||
struct pw_module *
|
||||
pw_module_load(struct pw_core *core,
|
||||
const char *name, const char *args, char **err);
|
||||
pw_module_load(struct pw_core *core, const char *name, const char *args);
|
||||
|
||||
void
|
||||
pw_module_destroy(struct pw_module *module);
|
||||
|
||||
struct pw_module *
|
||||
pw_core_find_module(struct pw_core *core, const char *filename);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue