mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 01:27:34 -05:00
#1548 Reduces default decoder AF gain by 40% to resolve issue with distorted audio from local strong aircraft transmissions. (#1559)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ import io.github.dsheirer.module.decode.analog.SquelchingAnalogDecoder;
|
|||||||
*/
|
*/
|
||||||
public class AMDecoder extends SquelchingAnalogDecoder
|
public class AMDecoder extends SquelchingAnalogDecoder
|
||||||
{
|
{
|
||||||
private static final float DEMODULATOR_GAIN = 250.0f;
|
private static final float DEMODULATOR_GAIN = 150.0f;
|
||||||
private static final float SQUELCH_ALPHA_DECAY = 0.0004f;
|
private static final float SQUELCH_ALPHA_DECAY = 0.0004f;
|
||||||
private static final float MINIMUM_GAIN = 0.5f;
|
private static final float MINIMUM_GAIN = 0.5f;
|
||||||
private static final float MAXIMUM_GAIN = 16.0f;
|
private static final float MAXIMUM_GAIN = 16.0f;
|
||||||
|
|||||||
Reference in New Issue
Block a user