From 72fa29b6459c178f7d49317c01aa1c714313f9eb Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sun, 14 Oct 2018 15:15:45 +0100 Subject: [PATCH] Allow a latency offset of +/- 1.75 seconds. --- audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio.c b/audio.c index 382d46d2..a0b5f74d 100644 --- a/audio.c +++ b/audio.c @@ -171,9 +171,9 @@ void parse_general_audio_options(void) { /* Get the latency offset in seconds. */ if (config_lookup_float(config.cfg, "general.audio_backend_latency_offset_in_seconds", &dvalue)) { - if ((dvalue < -1.0) || (dvalue > 1.5)) { + if ((dvalue < -1.75) || (dvalue > 1.75)) { die("Invalid audio_backend_latency_offset_in_seconds \"%f\". It " - "should be between -1.0 and +1.5, default is 0 seconds", + "should be between -1.75 and +1.75, default is 0 seconds", dvalue); } else { config.audio_backend_latency_offset = dvalue;