From c1c871a27f46bab83c690a1fac25e47aa2f8cd08 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Fri, 12 Apr 2019 11:45:04 +0200 Subject: [PATCH] Wayy slower mic prerol --- hugvey/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugvey/client.py b/hugvey/client.py index 1869004..0f9fe28 100644 --- a/hugvey/client.py +++ b/hugvey/client.py @@ -49,7 +49,7 @@ class VoiceServer(object): self.hugvey = hugvey self.chunk = 4096 - self.mic_prerol_sec = .3 + self.mic_prerol_sec = .05 self.prerol_frame_count = math.ceil(self.input_rate / self.chunk) self.prerol_frames = collections.deque(maxlen = self.prerol_frame_count)