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

Add agc_fast_attack and agc_slow_decay into B/D afsk demod init #439

Closed
wants to merge 1 commit into from

Conversation

bjpetit
Copy link
Contributor

@bjpetit bjpetit commented Jan 7, 2023

The agc_fast_attack and agc_slow_decay fields were initialized to 0 in the B/D demodulator. As a result, the level calculations would always come out to 0 resulting in the following...

Jan 04 08:13:25 direwolf[614]: ADEVICE0: Sample rate approx. 44.1 k, 0 errors, receive audio level CH0 0
Jan 04 08:14:33 direwolf[614]: AB4KR-1 audio level = 0(-99/-99) [NONE] ____||
Jan 04 08:14:33 direwolf[614]: Audio input level is too low. Increase so most stations are around 50.

Set the values to the same as A/E demodulator.

Also cleaned up some duplicate assignments in A/E demodulator

@wb2osz
Copy link
Owner

wb2osz commented Jan 23, 2023

Thanks for pointing this out.
The issue has been resolved in the dev branch.

@wb2osz wb2osz closed this Jan 23, 2023
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