mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:59:03 +02:00
Debugging
This commit is contained in:
parent
f07714ce5c
commit
3f64c29bc9
1 changed files with 1 additions and 2 deletions
|
@ -214,7 +214,7 @@ void *sendAvatarData(void *args) {
|
||||||
unsigned char *startPointer;
|
unsigned char *startPointer;
|
||||||
unsigned char *broadcastPacket = new unsigned char[MAX_PACKET_SIZE];
|
unsigned char *broadcastPacket = new unsigned char[MAX_PACKET_SIZE];
|
||||||
|
|
||||||
*broadcastPacket = *(unsigned char *)PACKET_HEADER_HEAD_DATA;
|
broadcastPacket = (unsigned char *)PACKET_HEADER_HEAD_DATA;
|
||||||
currentBufferPosition = broadcastPacket + 1;
|
currentBufferPosition = broadcastPacket + 1;
|
||||||
startPointer = currentBufferPosition;
|
startPointer = currentBufferPosition;
|
||||||
|
|
||||||
|
@ -232,7 +232,6 @@ void *sendAvatarData(void *args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
double usecToSleep = usecTimestamp(&startTime) + (BROADCAST_INTERVAL * 10000000) - usecTimestampNow();
|
double usecToSleep = usecTimestamp(&startTime) + (BROADCAST_INTERVAL * 10000000) - usecTimestampNow();
|
||||||
delete[] broadcastPacket;
|
|
||||||
usleep(usecToSleep);
|
usleep(usecToSleep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue