mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 23:42:25 +02:00
fixed warnings
This commit is contained in:
parent
1b0ce510f6
commit
f2dfa6b978
3 changed files with 2 additions and 8 deletions
|
@ -327,8 +327,8 @@ void Stats::display(
|
||||||
verticalOffset += STATS_PELS_PER_LINE;
|
verticalOffset += STATS_PELS_PER_LINE;
|
||||||
drawText(horizontalOffset, verticalOffset, scale, rotation, font, voxelMaxPing, color);
|
drawText(horizontalOffset, verticalOffset, scale, rotation, font, voxelMaxPing, color);
|
||||||
|
|
||||||
char* audioMixerJitterBuffersStatsLabel = "AudioMixer stream stats:";
|
char audioMixerJitterBuffersStatsLabel[] = "AudioMixer stream stats:";
|
||||||
char* audioMixerJitterBuffersStatsLabel2 = "early/late/lost, jframes";
|
char audioMixerJitterBuffersStatsLabel2[] = "early/late/lost, jframes";
|
||||||
|
|
||||||
verticalOffset += STATS_PELS_PER_LINE;
|
verticalOffset += STATS_PELS_PER_LINE;
|
||||||
drawText(horizontalOffset, verticalOffset, scale, rotation, font, audioMixerJitterBuffersStatsLabel, color);
|
drawText(horizontalOffset, verticalOffset, scale, rotation, font, audioMixerJitterBuffersStatsLabel, color);
|
||||||
|
|
|
@ -21,10 +21,6 @@
|
||||||
#include "OctreeSceneStats.h"
|
#include "OctreeSceneStats.h"
|
||||||
|
|
||||||
|
|
||||||
const uint16_t MAX_MISSING_SEQUENCE = 100; /// how many items in our _missingSequenceNumbers before we start to prune them
|
|
||||||
const uint16_t MAX_MISSING_SEQUENCE_OLD_AGE = 1000; /// age we allow items in _missingSequenceNumbers to be before pruning
|
|
||||||
|
|
||||||
|
|
||||||
const int samples = 100;
|
const int samples = 100;
|
||||||
OctreeSceneStats::OctreeSceneStats() :
|
OctreeSceneStats::OctreeSceneStats() :
|
||||||
_isReadyToSend(false),
|
_isReadyToSend(false),
|
||||||
|
|
|
@ -149,7 +149,6 @@ void SequenceNumberStatsTests::duplicateTest() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip 10
|
// skip 10
|
||||||
quint16 skipped = seq;
|
|
||||||
seq = seq + (quint16)10;
|
seq = seq + (quint16)10;
|
||||||
|
|
||||||
|
|
||||||
|
@ -214,7 +213,6 @@ void SequenceNumberStatsTests::pruneTest() {
|
||||||
int numSent = 0;
|
int numSent = 0;
|
||||||
|
|
||||||
int numEarly = 0;
|
int numEarly = 0;
|
||||||
int numLate = 0;
|
|
||||||
int numLost = 0;
|
int numLost = 0;
|
||||||
|
|
||||||
for (int R = 0; R < 2; R++) {
|
for (int R = 0; R < 2; R++) {
|
||||||
|
|
Loading…
Reference in a new issue