mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
settings: set the max-quantum to 2048
Allow an app to request up to 2048/48000 quantum. This will be scaled with the selected sample rate so if the graph changes to 96000, the quantum will be scaled to 4096. It will scale up to the hard limit of quantum_limit. See #1931
This commit is contained in:
parent
c8d4cef2d2
commit
71028f184d
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ context.properties = {
|
||||||
#default.clock.allowed-rates = [ 48000 ]
|
#default.clock.allowed-rates = [ 48000 ]
|
||||||
#default.clock.quantum = 1024
|
#default.clock.quantum = 1024
|
||||||
#default.clock.min-quantum = 32
|
#default.clock.min-quantum = 32
|
||||||
#default.clock.max-quantum = 8192
|
#default.clock.max-quantum = 2048
|
||||||
#default.clock.quantum-limit = 8192
|
#default.clock.quantum-limit = 8192
|
||||||
#default.video.width = 640
|
#default.video.width = 640
|
||||||
#default.video.height = 480
|
#default.video.height = 480
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
#define DEFAULT_CLOCK_RATE 48000u
|
#define DEFAULT_CLOCK_RATE 48000u
|
||||||
#define DEFAULT_CLOCK_QUANTUM 1024u
|
#define DEFAULT_CLOCK_QUANTUM 1024u
|
||||||
#define DEFAULT_CLOCK_MIN_QUANTUM 32u
|
#define DEFAULT_CLOCK_MIN_QUANTUM 32u
|
||||||
#define DEFAULT_CLOCK_MAX_QUANTUM 8192u
|
#define DEFAULT_CLOCK_MAX_QUANTUM 2048u
|
||||||
#define DEFAULT_CLOCK_QUANTUM_LIMIT 8192u
|
#define DEFAULT_CLOCK_QUANTUM_LIMIT 8192u
|
||||||
#define DEFAULT_CLOCK_POWER_OF_TWO_QUANTUM true
|
#define DEFAULT_CLOCK_POWER_OF_TWO_QUANTUM true
|
||||||
#define DEFAULT_VIDEO_WIDTH 640
|
#define DEFAULT_VIDEO_WIDTH 640
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue