mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
remote: add user data
This commit is contained in:
parent
2ca25e5bf4
commit
8a45fd4f31
13 changed files with 31 additions and 14 deletions
|
|
@ -401,7 +401,7 @@ int main(int argc, char *argv[])
|
|||
pw_loop_add_signal(l, SIGTERM, do_quit, &data);
|
||||
|
||||
data.core = pw_core_new(l, NULL);
|
||||
data.remote = pw_remote_new(data.core, NULL);
|
||||
data.remote = pw_remote_new(data.core, NULL, 0);
|
||||
|
||||
pw_remote_add_listener(data.remote, &data.remote_listener, &remote_events, &data);
|
||||
pw_remote_connect(data.remote);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue