mirror of
https://github.com/soarqin/DSP_Mods_TO.git
synced 2026-03-26 08:07:11 +08:00
WIP
This commit is contained in:
@@ -65,8 +65,8 @@ public class DoubleBuffer(byte[] readingBuffer, byte[] writingBuffer, Action onR
|
||||
private ByteSpan _readBuffer;
|
||||
private ByteSpan _midBuffer = new(readingBuffer);
|
||||
|
||||
private readonly Semaphore _readEnd = new Semaphore(1, 1);
|
||||
private readonly Semaphore _writeEnd = new Semaphore(0, 1);
|
||||
private readonly Semaphore _readEnd = new(1, 1);
|
||||
private readonly Semaphore _writeEnd = new(0, 1);
|
||||
|
||||
public ByteSpan ReadBegin()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user