mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
allow scaling the quantum_limit to 65536
Make it possible to change the quantum-limit in the config file past 8192 up to 65536. This will make all plugins allocate larger buffers so that the quantum can be increased to larger values as well, This is interesting when dealing with higher sample rates where the 8192 sample limit will cause wakeups every 20ms at 384KHz. See #1931
This commit is contained in:
parent
71028f184d
commit
622851001e
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ struct ucred {
|
||||||
|
|
||||||
#define MAX_RATES 16u
|
#define MAX_RATES 16u
|
||||||
#define CLOCK_MIN_QUANTUM 4u
|
#define CLOCK_MIN_QUANTUM 4u
|
||||||
#define CLOCK_MAX_QUANTUM 8192u
|
#define CLOCK_MAX_QUANTUM 65536u
|
||||||
|
|
||||||
struct settings {
|
struct settings {
|
||||||
uint32_t log_level;
|
uint32_t log_level;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue