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

@ -490,7 +490,8 @@ static int setup_streams(struct impl *impl)
PW_ID_ANY,
PW_STREAM_FLAG_AUTOCONNECT |
PW_STREAM_FLAG_MAP_BUFFERS |
PW_STREAM_FLAG_RT_PROCESS,
PW_STREAM_FLAG_RT_PROCESS |
PW_STREAM_FLAG_ASYNC,
params, n_params)) < 0)
return res;