loopback: Change memblockq length
authorGeorg Chini <georg@chini.tk>
Sun, 5 Jun 2016 19:05:07 +0000 (21:05 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 13 Jul 2016 22:13:19 +0000 (01:13 +0300)
The size of the memblockq must be increased to allow for long latencies
at high sample rates.

src/modules/module-loopback.c

index 6539a95..28b087a 100644 (file)
@@ -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)