dumb thing
This commit is contained in:
parent
517c874e51
commit
ddc00e2717
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,7 @@ from types import TracebackType
|
||||||
import sys
|
import sys
|
||||||
import aiohttp
|
import aiohttp
|
||||||
from raygun4py import raygunprovider # type: ignore
|
from raygun4py import raygunprovider # type: ignore
|
||||||
|
import struct
|
||||||
|
|
||||||
import configparser
|
import configparser
|
||||||
|
|
||||||
|
@ -79,6 +80,9 @@ def init_buffers() -> None:
|
||||||
transfer_buffer1 = Jack.RingBuffer(jack.samplerate * 10)
|
transfer_buffer1 = Jack.RingBuffer(jack.samplerate * 10)
|
||||||
transfer_buffer2 = 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()
|
init_buffers()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue