mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
settings: add default.clock.quantum-floor property
Remove some of the hardcoded values (the absolute smallest buffer size, independent on the sample rate) to a config option. Set it to the default value of 4, like what it was before. Change the hardcoded absolute lowest limit to 1 because anything else does not make sense. Enforce the quantum-floor when calculating the final graph quantum. Fixes #3908
This commit is contained in:
parent
e784de3933
commit
84af13a10b
6 changed files with 28 additions and 13 deletions
|
|
@ -177,7 +177,8 @@ the quantums.
|
|||
It is possible to specify up to 32 alternative sample rates. The graph
|
||||
sample rate will be switched when devices are idle. Note that this is
|
||||
not enabled by default for now because of various kernel and Bluetooth
|
||||
issues.
|
||||
issues. Note that the min/max/default quantum values are scaled when
|
||||
the samplerate changes.
|
||||
|
||||
@PAR@ pipewire.conf default.clock.min-quantum = 32
|
||||
Default minimum quantum.
|
||||
|
|
@ -189,7 +190,12 @@ Default maximum quantum.
|
|||
Default quantum used when no client specifies one.
|
||||
|
||||
@PAR@ pipewire.conf default.clock.quantum-limit = 8192
|
||||
Maximum quantum to reserve space for.
|
||||
Maximum quantum to reserve space for. This is the maximum buffer size used
|
||||
in the graph, regardless of the samplerate.
|
||||
|
||||
@PAR@ pipewire.conf default.clock.quantum-floor = 4
|
||||
Minimum quantum to reserve space for. This is the minimum buffer size used
|
||||
in the graph, regardless of the samplerate.
|
||||
|
||||
@PAR@ pipewire.conf default.video.width
|
||||
Default video width
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue