mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Merge remote-tracking branch 'origin'
This commit is contained in:
commit
959af6b0d5
1 changed files with 5 additions and 1 deletions
|
@ -58,13 +58,17 @@ void *sendBuffer(void *args)
|
|||
{
|
||||
int sentBytes;
|
||||
int nextFrame = 0;
|
||||
timeval startTime;
|
||||
timeval startTime, lastSend;
|
||||
|
||||
gettimeofday(&startTime, NULL);
|
||||
gettimeofday(&lastSend, NULL);
|
||||
|
||||
while (true) {
|
||||
sentBytes = 0;
|
||||
|
||||
printf("Last send was %f us ago", usecTimestampNow() - usecTimestamp(&lastSend));
|
||||
gettimeofday(&lastSend, NULL);
|
||||
|
||||
for (int i = 0; i < agentList.getAgents().size(); i++) {
|
||||
AudioRingBuffer *agentBuffer = (AudioRingBuffer *) agentList.getAgents()[i].getLinkedData();
|
||||
|
||||
|
|
Loading…
Reference in a new issue