mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-26 19:43:02 +00:00
Merge pull request #384 from silverhadch/rubicon
Increase stream buffer size from 255 to 1024 to prevent overflow
This commit is contained in:
commit
1451a991b3
|
|
@ -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