wb2osz / direwolf

Dire Wolf is a software "soundcard" AX.25 packet modem/TNC and APRS encoder/decoder. It can be used stand-alone to observe APRS traffic, as a tracker, digipeater, APRStt gateway, or Internet Gateway (IGate). For more information, look at the bottom 1/4 of this page and in https://github.com/wb2osz/direwolf/blob/dev/doc/README.md
GNU General Public License v2.0
1.56k stars 305 forks source link

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

Closed bjpetit closed 1 year ago

bjpetit commented 1 year ago

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 commented 1 year ago

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