mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
|
|
@ -378,7 +378,6 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
|
||||
if (impl->capture) {
|
||||
props = pw_properties_new(
|
||||
PW_KEY_NODE_WANT_DRIVER, "true",
|
||||
PW_KEY_NODE_LATENCY, latency,
|
||||
PW_KEY_NODE_RATE, pw_properties_get(impl->props, PW_KEY_NODE_RATE),
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "capture.node"),
|
||||
|
|
@ -402,7 +401,6 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
}
|
||||
if (impl->playback) {
|
||||
props = pw_properties_new(
|
||||
PW_KEY_NODE_WANT_DRIVER, "true",
|
||||
PW_KEY_NODE_LATENCY, latency,
|
||||
PW_KEY_NODE_RATE, pw_properties_get(impl->props, PW_KEY_NODE_RATE),
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "playback.node"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue