mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: scale max_quantum and add quantum_limit
Also scale the max_quantum with the selected rate. Add a new quantum_limit property that is the upper limit of the quantum regardless of the sample rate, this is usually the allocated buffer size. See #1931
This commit is contained in:
parent
dcac58609c
commit
676bed734c
9 changed files with 35 additions and 12 deletions
|
|
@ -61,6 +61,7 @@ struct settings {
|
|||
uint32_t clock_quantum; /* default quantum */
|
||||
uint32_t clock_min_quantum; /* min quantum */
|
||||
uint32_t clock_max_quantum; /* max quantum */
|
||||
uint32_t clock_quantum_limit; /* quantum limit */
|
||||
struct spa_rectangle video_size;
|
||||
struct spa_fraction video_rate;
|
||||
uint32_t link_max_buffers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue