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

DMR VoiceMessage: Fix incorrect frame assignment in DMR voice frame reconstruction #2159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

modificaz
Copy link

Summary

Fixes an incorrect assignment to frame_3[4], which should have been frame_2[4] based on the intended logic of the code.

Reasoning

The extracted byte should be assigned to frame_2[4] to correctly reconstruct the middle 72-bit voice frame. The assignment to frame_3[4] leaves frame_2[4] untouched from the initial 0 value , thus corrupting 8 bits of crucial FEC parity and voice parameters.

Impact

This fix should noticeably improve ECC performance and voice quality for DMR voice payloads.

Issue Reference

No relevant issues found.

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.

1 participant