[pulseaudio-discuss] [PATCH v6 04/25] loopback: Change memblockq length

Georg Chini georg at chini.tk
Sun Jun 5 19:05:07 UTC 2016


The size of the memblockq must be increased to allow for long latencies
at high sample rates.

---
 src/modules/module-loopback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index 6539a95..28b087a 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -59,7 +59,7 @@ PA_MODULE_USAGE(
 
 #define DEFAULT_LATENCY_MSEC 200
 
-#define MEMBLOCKQ_MAXLENGTH (1024*1024*16)
+#define MEMBLOCKQ_MAXLENGTH (1024*1024*32)
 
 #define DEFAULT_ADJUST_TIME_USEC (10*PA_USEC_PER_SEC)
 
-- 
2.8.1



More information about the pulseaudio-discuss mailing list