From 8bb64a5f31f0ef9bdfc9f35b4be53f06ea0185fe Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 25 May 2026 18:17:51 +0200 Subject: [PATCH] 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. --- src/modules/module-protocol-pulse/pulse-server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index f0cb55da6..c54333292 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -2112,10 +2112,10 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint pw_properties_set(props, 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) pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true");