mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05: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
|
|
@ -32,6 +32,7 @@ context.properties = {
|
|||
#default.clock.min-quantum = 32
|
||||
#default.clock.max-quantum = 2048
|
||||
#default.clock.quantum-limit = 8192
|
||||
#default.clock.quantum-floor = 4
|
||||
#default.video.width = 640
|
||||
#default.video.height = 480
|
||||
#default.video.rate.num = 25
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ context.properties = {
|
|||
#default.clock.min-quantum = 32
|
||||
#default.clock.max-quantum = 2048
|
||||
#default.clock.quantum-limit = 8192
|
||||
#default.clock.quantum-floor = 4
|
||||
#default.video.width = 640
|
||||
#default.video.height = 480
|
||||
#default.video.rate.num = 25
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue