Fix leaks

Add some docs
Add properties to loop objects for future use
This commit is contained in:
Wim Taymans 2017-08-08 18:22:44 +02:00
parent 600055bd68
commit eeda53dbef
25 changed files with 92 additions and 53 deletions

View file

@ -41,11 +41,11 @@ int main(int argc, char *argv[])
return -1;
}
loop = pw_main_loop_new();
props = pw_properties_new("pipewire.core.name", "pipewire-0",
"pipewire.daemon", "1", NULL);
loop = pw_main_loop_new(props);
core = pw_core_new(pw_main_loop_get_loop(loop), props);
pw_daemon_config_run_commands(config, core);