mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 08:38:38 +02:00
more windows build fixes
This commit is contained in:
parent
9dea84c227
commit
9afe6eaa25
1 changed files with 4 additions and 0 deletions
|
@ -254,7 +254,11 @@ void AudioMixer::run() {
|
|||
gettimeofday(&startTime, NULL);
|
||||
|
||||
int numBytesPacketHeader = numBytesForPacketHeader((unsigned char*) &PACKET_TYPE_MIXED_AUDIO);
|
||||
#ifdef _WIN32
|
||||
unsigned char clientPacket[MAX_PACKET_SIZE];
|
||||
#else
|
||||
unsigned char clientPacket[NETWORK_BUFFER_LENGTH_BYTES_STEREO + numBytesPacketHeader];
|
||||
#endif
|
||||
populateTypeAndVersion(clientPacket, PACKET_TYPE_MIXED_AUDIO);
|
||||
|
||||
while (!_isFinished) {
|
||||
|
|
Loading…
Reference in a new issue