mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
correct memcpy for orientation for PositionalAudioRingBuffer
This commit is contained in:
parent
beb415a851
commit
b0a1a1a01b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ int PositionalAudioRingBuffer::parsePositionalData(unsigned char* sourceBuffer,
|
|||
memcpy(&_position, currentBuffer, sizeof(_position));
|
||||
currentBuffer += sizeof(_position);
|
||||
|
||||
memcpy(&_orientation, sourceBuffer, sizeof(_orientation));
|
||||
memcpy(&_orientation, currentBuffer, sizeof(_orientation));
|
||||
currentBuffer += sizeof(_orientation);
|
||||
|
||||
// if this agent sent us a NaN for first float in orientation then don't consider this good audio and bail
|
||||
|
|
Loading…
Reference in a new issue