dumb thing

This commit is contained in:
Marks Polakovs 2020-04-12 22:32:56 +02:00
parent 517c874e51
commit ddc00e2717

View file

@ -15,6 +15,7 @@ from types import TracebackType
import sys
import aiohttp
from raygun4py import raygunprovider # type: ignore
import struct
import configparser
@ -79,6 +80,9 @@ def init_buffers() -> None:
transfer_buffer1 = Jack.RingBuffer(jack.samplerate * 10)
transfer_buffer2 = Jack.RingBuffer(jack.samplerate * 10)
transfer_buffer1.write(struct.pack('f', *([0] * jack.samplerate)))
transfer_buffer2.write(struct.pack('f', *([0] * jack.samplerate)))
init_buffers()