mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
removed isNan check for _nextOutputTrailingLoudness
This commit is contained in:
parent
a1b2bf59e9
commit
828410b7d6
1 changed files with 0 additions and 7 deletions
|
@ -145,13 +145,6 @@ void PositionalAudioRingBuffer::updateNextOutputTrailingLoudness() {
|
||||||
_nextOutputTrailingLoudness = 0;
|
_nextOutputTrailingLoudness = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// fixes bug on Windows where _nextOutputTrailingLoudness sometimes becomes NaN. In that case,
|
|
||||||
// revert _nextOutputTrailingLoudness to its previous value
|
|
||||||
if (isNaN(_nextOutputTrailingLoudness)) {
|
|
||||||
printf("next output trailling loudness NaN!! --------------------------------------\n");
|
|
||||||
_nextOutputTrailingLoudness = oldNextOutputTrailingLoudness;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PositionalAudioRingBuffer::shouldBeAddedToMix() {
|
bool PositionalAudioRingBuffer::shouldBeAddedToMix() {
|
||||||
|
|
Loading…
Reference in a new issue