mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-16 06:29:56 +00:00
modules: the combined streams are always async
We never trigger processing from their callbacks in all cases so they need one extra buffer.
This commit is contained in:
parent
840a9487a4
commit
d2b6a76798
|
@ -810,7 +810,8 @@ static int create_stream(struct stream_info *info)
|
|||
|
||||
flags = PW_STREAM_FLAG_AUTOCONNECT |
|
||||
PW_STREAM_FLAG_MAP_BUFFERS |
|
||||
PW_STREAM_FLAG_RT_PROCESS;
|
||||
PW_STREAM_FLAG_RT_PROCESS |
|
||||
PW_STREAM_FLAG_ASYNC;
|
||||
|
||||
if (impl->mode == MODE_SINK || impl->mode == MODE_CAPTURE) {
|
||||
direction = PW_DIRECTION_OUTPUT;
|
||||
|
@ -818,7 +819,6 @@ 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…
Reference in a new issue