pulse-server: move some config params to config file

Also make the minreq/fragsize larger by default.
This commit is contained in:
Wim Taymans 2021-02-23 14:57:45 +01:00
parent 8712cfb6a1
commit 43f8f39d3a
3 changed files with 71 additions and 17 deletions

View file

@ -47,13 +47,7 @@
#define MIN_BUFFERS 8u
#define MAX_BUFFERS 64u
#define MIN_SAMPLES 32u
#define MIN_USEC (MIN_SAMPLES * SPA_USEC_PER_SEC / 48000u)
#define MAXLENGTH (4*1024*1024) /* 4MB */
#define DEFAULT_TLENGTH_MSEC 2000 /* 2s */
#define DEFAULT_PROCESS_MSEC 20 /* 20ms */
#define DEFAULT_FRAGSIZE_MSEC DEFAULT_TLENGTH_MSEC
#define SCACHE_ENTRY_SIZE_MAX (1024*1024*16)