Wayy slower mic prerol
This commit is contained in:
parent
66c7e55c1f
commit
c1c871a27f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class VoiceServer(object):
|
||||||
self.hugvey = hugvey
|
self.hugvey = hugvey
|
||||||
|
|
||||||
self.chunk = 4096
|
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_frame_count = math.ceil(self.input_rate / self.chunk)
|
||||||
self.prerol_frames = collections.deque(maxlen = self.prerol_frame_count)
|
self.prerol_frames = collections.deque(maxlen = self.prerol_frame_count)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue