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

@ -129,7 +129,7 @@ int main(int argc, char *argv[])
l = pw_main_loop_get_loop(data.loop);
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);
data.remote = pw_remote_new(data.core, NULL, 0);
data.library = argv[1];
data.factory = argv[2];