mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse: find linked endpoints
Set the stream node object-id as the node.id on the endpoint so that the pulse api can find the linked endpoint.
This commit is contained in:
parent
709a52e286
commit
8c43ebaf3e
6 changed files with 35 additions and 40 deletions
|
|
@ -245,10 +245,10 @@ struct global {
|
|||
struct spa_hook object_listener;
|
||||
|
||||
union {
|
||||
/* for links */
|
||||
/* for links, globals are endpoints */
|
||||
struct {
|
||||
struct global *src;
|
||||
struct global *dst;
|
||||
struct global *output;
|
||||
struct global *input;
|
||||
} link_info;
|
||||
struct {
|
||||
uint32_t endpoint_id;
|
||||
|
|
@ -262,6 +262,7 @@ struct global {
|
|||
uint32_t n_channel_volumes;
|
||||
float channel_volumes[SPA_AUDIO_MAX_CHANNELS];
|
||||
uint32_t device_id;
|
||||
uint32_t node_id;
|
||||
} endpoint_info;
|
||||
/* for devices */
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue