mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +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);
|
gettimeofday(&startTime, NULL);
|
||||||
|
|
||||||
int numBytesPacketHeader = numBytesForPacketHeader((unsigned char*) &PACKET_TYPE_MIXED_AUDIO);
|
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];
|
unsigned char clientPacket[NETWORK_BUFFER_LENGTH_BYTES_STEREO + numBytesPacketHeader];
|
||||||
|
#endif
|
||||||
populateTypeAndVersion(clientPacket, PACKET_TYPE_MIXED_AUDIO);
|
populateTypeAndVersion(clientPacket, PACKET_TYPE_MIXED_AUDIO);
|
||||||
|
|
||||||
while (!_isFinished) {
|
while (!_isFinished) {
|
||||||
|
|
Loading…
Reference in a new issue