mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
make NODE_WANT_DRIVER=true the default
So that all nodes attach to some driver to be scheduled. For the virtual sink/sources this is a normal thing and we can remove the custom settings. For normal stream, this now makes it possible to link pw-play directly to pw-record and have it transport data. Fixes #1761
This commit is contained in:
parent
9a5fbd26df
commit
d1207422e0
11 changed files with 9 additions and 22 deletions
|
|
@ -298,8 +298,6 @@ struct module *create_module_pipe_sink(struct impl *impl, const char *argument)
|
|||
goto out;
|
||||
}
|
||||
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_WANT_DRIVER) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_WANT_DRIVER, "true");
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_VIRTUAL) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_VIRTUAL, "true");
|
||||
pw_properties_set(capture_props, PW_KEY_MEDIA_CLASS, "Audio/Sink");
|
||||
|
|
|
|||
|
|
@ -357,8 +357,6 @@ struct module *create_module_pipe_source(struct impl *impl, const char *argument
|
|||
goto out;
|
||||
}
|
||||
|
||||
if (pw_properties_get(playback_props, PW_KEY_NODE_WANT_DRIVER) == NULL)
|
||||
pw_properties_set(playback_props, PW_KEY_NODE_WANT_DRIVER, "true");
|
||||
if (pw_properties_get(playback_props, PW_KEY_NODE_VIRTUAL) == NULL)
|
||||
pw_properties_set(playback_props, PW_KEY_NODE_VIRTUAL, "true");
|
||||
pw_properties_set(playback_props, PW_KEY_MEDIA_CLASS, "Audio/Source");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue