mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: move some config params to config file
Also make the minreq/fragsize larger by default.
This commit is contained in:
parent
8712cfb6a1
commit
43f8f39d3a
3 changed files with 71 additions and 17 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue