mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
modules: virtual sink/sources need driver
Virtual sinks and sources implemented with streams need to be grouped with a driver node to be able to schedule. We don't have a way to let it use a default driver so add it to the pipewire.dummy driver. This fixes stalled pipe and other streams streams. Fixes #1407
This commit is contained in:
parent
16faacec92
commit
62fa0823ec
5 changed files with 18 additions and 2 deletions
|
|
@ -376,7 +376,7 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
|
||||
if (impl->capture) {
|
||||
props = pw_properties_new(
|
||||
PW_KEY_NODE_GROUP, client->name,
|
||||
PW_KEY_NODE_GROUP, "pipewire.dummy",
|
||||
PW_KEY_NODE_LATENCY, DEFAULT_LATENCY,
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "capture.node"),
|
||||
NULL);
|
||||
|
|
@ -396,7 +396,7 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
}
|
||||
if (impl->playback) {
|
||||
props = pw_properties_new(
|
||||
PW_KEY_NODE_GROUP, client->name,
|
||||
PW_KEY_NODE_GROUP, "pipewire.dummy",
|
||||
PW_KEY_NODE_LATENCY, DEFAULT_LATENCY,
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "playback.node"),
|
||||
NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue