mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue