Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for mismatched Mic network stream #930

Merged
merged 2 commits into from
Sep 9, 2017
Merged

Fix for mismatched Mic network stream #930

merged 2 commits into from
Sep 9, 2017

Conversation

StephenHodgson
Copy link
Contributor

@StephenHodgson StephenHodgson commented Sep 4, 2017

Fixes #786

  • Added HTRF bits to be read from the stream to prevent mismatch on receiving end.

@StephenHodgson StephenHodgson changed the title Fix for Mis matched Mic network stream mismatch Fix for mismatched Mic network stream Sep 4, 2017
@@ -271,9 +271,9 @@ private void SendFixedSizedChunk(NetworkConnection connection, byte[] data, int
msg.Write(cameraPosRelativeToGlobalAnchor.z);

// HRTF direction bits

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we are leaving this in commented out, vs just deleting the section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because potentially someone could implement the hrtf parts.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the current implementation is wrong? Sorry, i don't know much about this stuff.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's causing a mismatch in the stream in the receiving end.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Seems like maybe we should just put a TODO in on the Transmitter like in the Receiver. Or put a comment in on why that code is commented out.

Personally I'm not a big fan of leaving commented code in.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could comment it back in on the receiving end too, but I figured this way was saving network traffic.

@StephenHodgson StephenHodgson merged commit e05bb20 into microsoft:master Sep 9, 2017
@StephenHodgson StephenHodgson deleted the HTK-MicTransmitterFixes branch September 9, 2017 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants