From 19181007f483fc8d8a0b61104c2430e7a5ce0430 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sat, 9 Apr 2016 22:33:29 +0200 Subject: [PATCH] [alsa] Increase max latency variance Latency on the RPi varies quite a bit --- src/outputs/alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/outputs/alsa.c b/src/outputs/alsa.c index fc60f3b0..4a44cc63 100644 --- a/src/outputs/alsa.c +++ b/src/outputs/alsa.c @@ -44,7 +44,7 @@ // If latency is jumping up and down we don't do compensation since we probably // wouldn't do a good job. This sets the maximum the latency is allowed to vary // within the 10 seconds where we measure latency each second. -#define ALSA_MAX_LATENCY_VARIANCE 100 +#define ALSA_MAX_LATENCY_VARIANCE 352 // TODO Unglobalise these and add support for multiple sound cards static char *card_name;