mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
more windows build fixes
This commit is contained in:
parent
cb828d330a
commit
9dea84c227
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ int PositionalAudioRingBuffer::parsePositionalData(unsigned char* sourceBuffer,
|
||||||
currentBuffer += sizeof(_orientation);
|
currentBuffer += sizeof(_orientation);
|
||||||
|
|
||||||
// if this node sent us a NaN for first float in orientation then don't consider this good audio and bail
|
// if this node sent us a NaN for first float in orientation then don't consider this good audio and bail
|
||||||
if (std::isnan(_orientation.x)) {
|
if (isnan_(_orientation.x)) {
|
||||||
reset();
|
reset();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue