Clean up POSIX streaming code

This commit is contained in:
erorcun
2021-01-27 18:26:08 +03:00
parent f27e1ec818
commit 843dd9b5e1
6 changed files with 94 additions and 45 deletions

View File

@@ -85,7 +85,11 @@ public:
static int32 ms_oldSectorX;
static int32 ms_oldSectorY;
static int32 ms_streamingBufferSize;
#ifndef ONE_THREAD_PER_CHANNEL
static int8 *ms_pStreamingBuffer[2];
#else
static int8 *ms_pStreamingBuffer[4];
#endif
static size_t ms_memoryUsed;
static CStreamingChannel ms_channel[2];
static int32 ms_channelError;