pulse-server: tweak minreq and fragsize

Use time instead of samples to calculate the min
This commit is contained in:
Wim Taymans 2020-10-14 15:44:52 +02:00
parent 2ddcb7b002
commit c92ce17a9f
2 changed files with 11 additions and 7 deletions

View file

@ -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 */