pulse-server: implement sample cache

This commit is contained in:
Wim Taymans 2020-11-13 13:28:46 +01:00
parent 22cec7823e
commit 8b9d398df6
3 changed files with 391 additions and 42 deletions

View file

@ -50,6 +50,8 @@
#define DEFAULT_PROCESS_MSEC 20 /* 20ms */
#define DEFAULT_FRAGSIZE_MSEC DEFAULT_TLENGTH_MSEC
#define SCACHE_ENTRY_SIZE_MAX (1024*1024*16)
enum error_code {
ERR_OK = 0, /**< No error */
ERR_ACCESS, /**< Access failure */