mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse-server: tweak minreq and fragsize
Use time instead of samples to calculate the min
This commit is contained in:
parent
2ddcb7b002
commit
c92ce17a9f
2 changed files with 11 additions and 7 deletions
|
|
@ -43,6 +43,7 @@
|
|||
#define MAX_BUFFERS 64u
|
||||
|
||||
#define MIN_SAMPLES 24u
|
||||
#define MIN_USEC (MIN_SAMPLES * SPA_USEC_PER_SEC / 48000u)
|
||||
|
||||
#define MAXLENGTH (4*1024*1024) /* 4MB */
|
||||
#define DEFAULT_TLENGTH_MSEC 2000 /* 2s */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue