mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
|
@ -337,7 +337,7 @@ next:
|
|||
|
||||
param = spa_pod_builder_add_object(&b,
|
||||
SPA_TYPE_OBJECT_ParamBuffers, id,
|
||||
SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(1, 1, MAX_BUFFERS),
|
||||
SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(2, 1, MAX_BUFFERS),
|
||||
SPA_PARAM_BUFFERS_blocks, SPA_POD_Int(1),
|
||||
SPA_PARAM_BUFFERS_size, SPA_POD_CHOICE_RANGE_Int(4096, 512, INT32_MAX),
|
||||
SPA_PARAM_BUFFERS_stride, SPA_POD_Int(1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue