mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: use STREAM_CAPTURE_SINK for monitor capture
Make the pulseaudio layer set the PW_KEY_STREAM_CAPTURE_SINK property when a monitor device is selected as a source to make it easier for the session manager to find the right source.
This commit is contained in:
parent
d4d6458b5b
commit
5ae75e1d2a
5 changed files with 12 additions and 0 deletions
|
|
@ -388,6 +388,8 @@ static int create_streams(struct impl *impl, struct client *client)
|
|||
PW_KEY_NODE_GROUP, "pipewire.dummy",
|
||||
PW_KEY_NODE_LATENCY, DEFAULT_LATENCY,
|
||||
PW_KEY_NODE_TARGET, pw_properties_get(impl->props, "capture.node"),
|
||||
PW_KEY_STREAM_CAPTURE_SINK, pw_properties_get(impl->props,
|
||||
PW_KEY_STREAM_CAPTURE_SINK),
|
||||
PW_KEY_NODE_NETWORK, "true",
|
||||
NULL);
|
||||
if (props == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue