From 75566a238fda274bb8d8d03ce46a9fd66c4e9b23 Mon Sep 17 00:00:00 2001 From: Torkel Niklasson Date: Wed, 2 Oct 2024 07:07:01 +0200 Subject: [PATCH] modules: fix flag setup in combine-stream When combine-stream initiation code was moved around in b46673b4, a bitwise or of flags was accidentally dropped, and thus flags were overwritten instead of added to. --- src/modules/module-combine-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-combine-stream.c b/src/modules/module-combine-stream.c index a232070ef..4afcb8f0b 100644 --- a/src/modules/module-combine-stream.c +++ b/src/modules/module-combine-stream.c @@ -817,7 +817,7 @@ static int create_stream(struct stream_info *info) if (impl->mode == MODE_SINK || impl->mode == MODE_CAPTURE) { direction = PW_DIRECTION_OUTPUT; - flags = PW_STREAM_FLAG_TRIGGER; + flags |= PW_STREAM_FLAG_TRIGGER; dir_name = "output"; } else { direction = PW_DIRECTION_INPUT;