core: add user_data to core

This commit is contained in:
Wim Taymans 2019-01-08 17:30:12 +01:00
parent fb5ae6df43
commit 979d155382
19 changed files with 37 additions and 20 deletions

View file

@ -1332,7 +1332,7 @@ int main(int argc, char *argv[])
spa_list_init(&data.remotes);
pw_map_init(&data.vars, 64, 16);
data.core = pw_core_new(l, pw_properties_new(PW_CORE_PROP_DAEMON, "1", NULL));
data.core = pw_core_new(l, pw_properties_new(PW_CORE_PROP_DAEMON, "1", NULL), 0);
info = pw_core_get_info(data.core);
pw_module_load(data.core, "libpipewire-module-link-factory", NULL, NULL, NULL, NULL);

View file

@ -675,7 +675,7 @@ int main(int argc, char *argv[])
pw_loop_add_signal(l, SIGINT, do_quit, &data);
pw_loop_add_signal(l, SIGTERM, do_quit, &data);
data.core = pw_core_new(l, NULL);
data.core = pw_core_new(l, NULL, 0);
if (data.core == NULL)
return -1;