mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
Use configured quantum_limit instead of hardcoded value
Parse the quantum_limit parameters and use this to scale the buffers so that they can contain the maximum allowed samples instead of the hardcoded 8192 value. See #1931
This commit is contained in:
parent
4e5ab4bcbe
commit
776b52749f
16 changed files with 124 additions and 44 deletions
|
|
@ -148,6 +148,7 @@ struct state {
|
|||
unsigned int disable_mmap;
|
||||
unsigned int disable_batch;
|
||||
char clock_name[64];
|
||||
uint32_t quantum_limit;
|
||||
|
||||
snd_pcm_uframes_t buffer_frames;
|
||||
snd_pcm_uframes_t period_frames;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue