mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
|
@ -407,8 +407,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
impl->context = context;
|
||||
impl->work = pw_context_get_work_queue(context);
|
||||
|
||||
if (pw_properties_get(props, PW_KEY_NODE_WANT_DRIVER) == NULL)
|
||||
pw_properties_set(props, PW_KEY_NODE_WANT_DRIVER, "true");
|
||||
if (pw_properties_get(props, PW_KEY_NODE_VIRTUAL) == NULL)
|
||||
pw_properties_set(props, PW_KEY_NODE_VIRTUAL, "true");
|
||||
|
||||
|
|
@ -430,7 +428,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
copy_props(impl, props, PW_KEY_NODE_NAME);
|
||||
copy_props(impl, props, PW_KEY_NODE_DESCRIPTION);
|
||||
copy_props(impl, props, PW_KEY_NODE_GROUP);
|
||||
copy_props(impl, props, PW_KEY_NODE_WANT_DRIVER);
|
||||
copy_props(impl, props, PW_KEY_NODE_LATENCY);
|
||||
copy_props(impl, props, PW_KEY_NODE_VIRTUAL);
|
||||
copy_props(impl, props, PW_KEY_MEDIA_CLASS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue