modules: add ASYNC flag

Add ASYNC flags for the streams that don't dequeue/queue in the realtime
process function so that an extra buffer is allocated.
This commit is contained in:
Wim Taymans 2023-06-27 13:10:20 +02:00
parent 1466982c60
commit 39165a8471
3 changed files with 5 additions and 2 deletions

View file

@ -818,6 +818,7 @@ static int create_stream(struct stream_info *info)
} else {
direction = PW_DIRECTION_INPUT;
s->stream_events.process = stream_input_process;
flags |= PW_STREAM_FLAG_ASYNC;
}
pw_stream_add_listener(s->stream,