mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: list NETWORK flag on devices
Mark network sinks and sources with node.network.
This commit is contained in:
parent
d6c1479ba0
commit
8c346ab3a7
6 changed files with 13 additions and 0 deletions
|
|
@ -388,6 +388,7 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
PW_KEY_NODE_GROUP, "pipewire.dummy",
|
||||
PW_KEY_NODE_LATENCY, DEFAULT_LATENCY,
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "capture.node"),
|
||||
PW_KEY_NODE_NETWORK, "true",
|
||||
NULL);
|
||||
if (props == NULL)
|
||||
return -errno;
|
||||
|
|
@ -408,6 +409,7 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
PW_KEY_NODE_GROUP, "pipewire.dummy",
|
||||
PW_KEY_NODE_LATENCY, DEFAULT_LATENCY,
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "playback.node"),
|
||||
PW_KEY_NODE_NETWORK, "true",
|
||||
NULL);
|
||||
if (props == NULL)
|
||||
return -errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue