Skip to content

Commit 9cee19a

Browse files
author
Stephen Hodgson
committed
Prevented HTRF bits written to stream to prevent mismatch on receiving end.
1 parent 1c99f53 commit 9cee19a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Assets/HoloToolkit/Sharing/Scripts/VoiceChat/MicrophoneReceiver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public void OnMessageReceived(NetworkConnection connection, NetworkInMessage mes
329329

330330
if (hrtfSourceID > 0)
331331
{
332-
// hrtf processing here
332+
// TODO hrtf processing here
333333
}
334334

335335
circularBuffer.Write(networkPacketBufferBytes, 0, networkPacketBufferBytes.Length);

Assets/HoloToolkit/Sharing/Scripts/VoiceChat/MicrophoneTransmitter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ private void SendFixedSizedChunk(NetworkConnection connection, byte[] data, int
271271
msg.Write(cameraPosRelativeToGlobalAnchor.z);
272272

273273
// HRTF direction bits
274-
msg.Write(cameraDirectionRelativeToGlobalAnchor.x);
275-
msg.Write(cameraDirectionRelativeToGlobalAnchor.y);
276-
msg.Write(cameraDirectionRelativeToGlobalAnchor.z);
274+
//msg.Write(cameraDirectionRelativeToGlobalAnchor.x);
275+
//msg.Write(cameraDirectionRelativeToGlobalAnchor.y);
276+
//msg.Write(cameraDirectionRelativeToGlobalAnchor.z);
277277

278278
msg.WriteArray(data, (uint)dataCountFloats * 4);
279279

0 commit comments

Comments
 (0)