mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
1466982c60
commit
39165a8471
3 changed files with 5 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue