mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
client-node: set parent id and owner
Make sure we set the right parent id and owner for the client node and client-stream Move the remote id in the proxy object and use it in the stream to get the node id.
This commit is contained in:
parent
fe03ec8bde
commit
79a3b594f9
11 changed files with 39 additions and 19 deletions
|
|
@ -426,6 +426,7 @@ struct pw_proxy {
|
|||
struct spa_list link; /**< link in the remote */
|
||||
|
||||
uint32_t id; /**< client side id */
|
||||
uint32_t remote_id; /**< remote id */
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
struct spa_hook_list proxy_listener_list;
|
||||
|
|
@ -476,6 +477,7 @@ struct pw_stream {
|
|||
char *error; /**< error reason when state is in error */
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
struct pw_proxy *proxy;
|
||||
};
|
||||
|
||||
struct pw_factory {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue