mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse-server: rename module_info::prepare() to create()
Now that the method does not actually create the `module` object, it would be somewhat misleading to call it "create", so rename it to "prepare".
This commit is contained in:
parent
fa3a28ab68
commit
75d28cadcd
25 changed files with 57 additions and 57 deletions
|
|
@ -318,7 +318,7 @@ struct module *module_create(struct client *client, const char *name, const char
|
|||
if (args)
|
||||
module_args_add_props(module->props, args);
|
||||
|
||||
int res = module->info->create(module);
|
||||
int res = module->info->prepare(module);
|
||||
if (res < 0) {
|
||||
module_free(module);
|
||||
errno = -res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue