mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
|
@ -217,6 +217,10 @@ Default video rate denominator
|
|||
@PAR@ pipewire.conf library.name.system = support/libspa-support
|
||||
The name of the shared library to use for the system functions for the main thread.
|
||||
|
||||
@PAR@ pipewire.conf link.min-buffers = 2
|
||||
The minimum number of buffers to negotiate between nodes. Using 1 buffer will consume
|
||||
less memory but might cause glitches when using async nodes.
|
||||
|
||||
@PAR@ pipewire.conf link.max-buffers = 64
|
||||
The maximum number of buffers to negotiate between nodes. Note that version < 3 clients
|
||||
can only support 16 buffers. More buffers is almost always worse than less, latency
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue