mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
|
|
@ -52,6 +52,7 @@ struct defs {
|
|||
struct sample_spec sample_spec;
|
||||
struct channel_map channel_map;
|
||||
uint32_t max_quantum;
|
||||
uint32_t quantum_limit;
|
||||
};
|
||||
|
||||
struct stats {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue