mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Fix leaks
Add some docs Add properties to loop objects for future use
This commit is contained in:
parent
600055bd68
commit
eeda53dbef
25 changed files with 92 additions and 53 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue