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 decoding of DI bits #78

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Fix decoding of DI bits #78

merged 1 commit into from
Aug 28, 2024

Conversation

argilo
Copy link
Collaborator

@argilo argilo commented Aug 12, 2024

@KubaPro010 reported in gqrx-sdr/gqrx#1360 that DI bits (mono/stereo, dynamic head, etc) are not parsed correctly in Gqrx, and @vladisslav2011 proposed a fix in gqrx-sdr/gqrx#1361. Because Gqrx has copied parser_impl.cc and parser_impl.h from gr-rds, I would like to propose the changes upstream before accepting them in Gqrx.

Two issues are fixed here:

  1. The order of the four DI bits was reversed.
  2. The sense of the Static PTY / Dynamic PTY bit was inverted.

I tested this out with some local stations, and Mono/Stereo is now correctly indicated in the panel.

@bastibl
Copy link
Owner

bastibl commented Aug 28, 2024

Hi argilo, thanks for the PR and contributing back!

@bastibl bastibl merged commit 6bfa53f into bastibl:maint-3.10 Aug 28, 2024
@argilo argilo deleted the fix-di-bits branch August 31, 2024 00:01
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.

2 participants