mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -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
|
|
@ -439,6 +439,8 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
pw_properties_set(capture_props, PW_KEY_NODE_GROUP, "pipewire.dummy");
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_VIRTUAL) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_VIRTUAL, "true");
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_NETWORK) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_NETWORK, "true");
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_PASSIVE) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_PASSIVE, "true");
|
||||
if ((str = pw_properties_get(capture_props, PW_KEY_MEDIA_CLASS)) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue