mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-27 21:37:37 -04:00
pulse-server: always set stream.capture.sink for monitor
Also set the stream.capture.sink when we find the sink by index, not just by name when it ends with .monitor.
This commit is contained in:
parent
e0d7b37826
commit
63eb53c1cb
1 changed files with 3 additions and 3 deletions
|
|
@ -2130,10 +2130,10 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
|
||||||
pw_properties_set(props,
|
pw_properties_set(props,
|
||||||
PW_KEY_TARGET_OBJECT, source_name);
|
PW_KEY_TARGET_OBJECT, source_name);
|
||||||
}
|
}
|
||||||
if (is_monitor)
|
|
||||||
pw_properties_set(props,
|
|
||||||
PW_KEY_STREAM_CAPTURE_SINK, "true");
|
|
||||||
}
|
}
|
||||||
|
if (is_monitor)
|
||||||
|
pw_properties_set(props,
|
||||||
|
PW_KEY_STREAM_CAPTURE_SINK, "true");
|
||||||
if (dont_inhibit_auto_suspend)
|
if (dont_inhibit_auto_suspend)
|
||||||
pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true");
|
pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue