mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
tweak buffers a little
JACK can handle 2 buffers at most, make the default buffer allocator allocate 2 buffers when no params are given. Prefer 2 buffers, it allows some form of async fill/consume
This commit is contained in:
parent
ddcb08a98a
commit
ea911f2e3f
4 changed files with 7 additions and 7 deletions
|
|
@ -277,7 +277,7 @@ int pw_buffers_negotiate(struct pw_context *context, uint32_t flags,
|
|||
} else {
|
||||
pw_log_warn(NAME" %p: no buffers param", result);
|
||||
minsize = 8192;
|
||||
max_buffers = 4;
|
||||
max_buffers = 2;
|
||||
}
|
||||
|
||||
if (SPA_FLAG_IS_SET(flags, PW_BUFFERS_FLAG_NO_MEM))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue