Clean up POSIX streaming code

This commit is contained in:
erorcun
2021-01-27 18:26:08 +03:00
parent e8a10748a4
commit ab939e059b
6 changed files with 92 additions and 47 deletions

View File

@@ -88,7 +88,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;