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.
This commit is contained in:
Torkel Niklasson 2024-10-02 07:07:01 +02:00 committed by Wim Taymans
parent 1a549c02a5
commit 75566a238f

View file

@ -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;