mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Merge pull request #544 from birarda/twopole
correct audio mixer frame time stat
This commit is contained in:
commit
1c8767268b
1 changed files with 1 additions and 3 deletions
|
@ -410,9 +410,7 @@ int main(int argc, const char* argv[]) {
|
|||
float percentageOfMaxElapsed = ((float) (usecTimestamp(&endSendTime) - usecTimestamp(&beginSendTime))
|
||||
/ BUFFER_SEND_INTERVAL_USECS) * 100.0f;
|
||||
|
||||
if (percentageOfMaxElapsed > 0) {
|
||||
sumFrameTimePercentages += percentageOfMaxElapsed;
|
||||
}
|
||||
sumFrameTimePercentages += percentageOfMaxElapsed;
|
||||
|
||||
numStatCollections++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue