mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-28 01:42:56 +00:00
Increase stream buffer size from 255 to 1024 to prevent overflow
This commit is contained in:
parent
5e7cdabea3
commit
c31b086791
|
|
@ -169,7 +169,7 @@ private:
|
|||
|
||||
C4JThread* m_openStreamThread;
|
||||
static int OpenStreamThreadProc(void* lpParameter);
|
||||
char m_szStreamName[255];
|
||||
char m_szStreamName[1024];
|
||||
int CurrentSoundsPlaying[static_cast<int>(eSoundType_MAX) +
|
||||
static_cast<int>(eSFX_MAX)];
|
||||
|
||||
|
|
@ -179,4 +179,4 @@ private:
|
|||
int m_iStream_End_Min, m_iStream_End_Max;
|
||||
int m_iStream_CD_1;
|
||||
bool* m_bHeardTrackA;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue