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:
Wim Taymans 2022-04-21 10:14:53 +02:00
parent 9a5fbd26df
commit d1207422e0
11 changed files with 9 additions and 22 deletions

View file

@ -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"),