diff --git a/.vs/rtlsdr/v15/.suo b/.vs/rtlsdr/v15/.suo new file mode 100644 index 0000000..b7225be Binary files /dev/null and b/.vs/rtlsdr/v15/.suo differ diff --git a/src/tuner_r82xx.c b/src/tuner_r82xx.c index 59aeb68..cd233a2 100644 --- a/src/tuner_r82xx.c +++ b/src/tuner_r82xx.c @@ -1037,7 +1037,9 @@ int r82xx_set_vga_gain(struct r82xx_priv *priv) { int rc; /* set fixed VGA gain based on frequency */ - if (priv->rf_freq > MHZ(1350)) { + /* Disable for now. While it improves performance in some applications + it appears to severely degrade performance in others */ + /*if (priv->rf_freq > MHZ(1350)) { rc = r82xx_write_reg_mask(priv, 0x0c, 0x0f, 0x9f); // Max 40.5 dB } else if (priv->rf_freq > MHZ(1000)) { @@ -1045,7 +1047,9 @@ int r82xx_set_vga_gain(struct r82xx_priv *priv) { } else { rc = r82xx_write_reg_mask(priv, 0x0c, 0x08, 0x9f); // 16.3 dB - } + }*/ + + rc = r82xx_write_reg_mask(priv, 0x0c, 0x08, 0x9f); // 16.3 dB return rc; }