mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
fix the number of bytes for microphone audio
This commit is contained in:
parent
5220129977
commit
2db7b5de4e
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ int audioCallback (const void* inputBuffer,
|
|||
glm::vec3 headPosition = interfaceAvatar->getHeadJointPosition();
|
||||
glm::quat headOrientation = interfaceAvatar->getHead().getOrientation();
|
||||
|
||||
int leadingBytes = 1 + sizeof(headPosition) + sizeof(headOrientation) + sizeof(unsigned char);
|
||||
int leadingBytes = 1 + sizeof(headPosition) + sizeof(headOrientation);
|
||||
|
||||
// we need the amount of bytes in the buffer + 1 for type
|
||||
// + 12 for 3 floats for position + float for bearing + 1 attenuation byte
|
||||
|
|
Loading…
Reference in a new issue