mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
settings: add link.min-buffers option
Add link.min-buffers option to set the minimum amount of buffers to create for links. Set this by default to 2 because we really need two now in case the sink xruns and does async mixing. Make this an option because in low-memory cases and when xruns are not expected, we can set this to 1.
This commit is contained in:
parent
5829276dbb
commit
dbedd09d42
7 changed files with 19 additions and 8 deletions
|
|
@ -13,6 +13,7 @@ context.properties = {
|
|||
#library.name.system = support/libspa-support
|
||||
#context.data-loop.library.name.system = support/libspa-support
|
||||
#support.dbus = true
|
||||
#link.min-buffers = 2
|
||||
#link.max-buffers = 64
|
||||
link.max-buffers = 16 # version < 3 clients can't handle more
|
||||
#mem.warn-mlock = false
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ context.properties = {
|
|||
#library.name.system = support/libspa-support
|
||||
#context.data-loop.library.name.system = support/libspa-support
|
||||
#support.dbus = true
|
||||
#link.max-buffers = 64
|
||||
#link.max-buffers = 16 # version < 3 clients can't handle more
|
||||
#mem.warn-mlock = false
|
||||
#mem.allow-mlock = true
|
||||
#mem.mlock-all = false
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ context.properties = {
|
|||
#library.name.system = support/libspa-support
|
||||
#context.data-loop.library.name.system = support/libspa-support
|
||||
#support.dbus = true
|
||||
#link.min-buffers = 2
|
||||
#link.max-buffers = 64
|
||||
link.max-buffers = 16 # version < 3 clients can't handle more
|
||||
#mem.warn-mlock = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue