fix: ring buffer race condition issues

This commit is contained in:
Louis Dalibard 2024-10-21 13:57:37 +02:00
parent da6f9141da
commit 61ab70dd2b

View File

@ -37,8 +37,8 @@ var DefaultConfig = ConfigS{
WindowOpacity: 0.8, WindowOpacity: 0.8,
CaptureDeviceIndex: 0, CaptureDeviceIndex: 0,
SampleRate: 48000, SampleRate: 48000,
RingBufferSize: 192000, RingBufferSize: 4800,
ReadBufferSize: 192000, ReadBufferSize: 4800,
Gain: 1, Gain: 1,
LineOpacity: 50, LineOpacity: 50,
LineThickness: 2, LineThickness: 2,