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

Calculate AGC parameters based on the correct sample rate #1230

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

argilo
Copy link
Member

@argilo argilo commented Apr 28, 2023

Fixes #1229.

The AGC change in #1151 introduced a bug because m_DelaySamples and m_WindowSamples were calculated prior to m_SampleRate being updated. This meant that the old sample rate was incorrectly used when calculating these parameters. Here I've put the calculations in the correct order.

@argilo argilo reopened this Apr 28, 2023
@argilo argilo merged commit 6bc4da9 into master Apr 28, 2023
@argilo argilo deleted the fix-agc-sensitivity branch April 28, 2023 15:53
@argilo argilo added the bug label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSB demodulator too sensitive since 2.15.10
1 participant