Skip to content

Commit

Permalink
rx_agc: reduce clicks in Gr-audio configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vladisslav2011 committed Jul 25, 2023
1 parent b3e93d9 commit 88be527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsp/rx_agc_xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void rx_agc_2f::set_parameters(double sample_rate, bool agc_on, int target_level
if (d_target_level != target_level || force)
{
d_target_level = target_level;
d_target_mag = exp10f(TYPEFLOAT(d_target_level) / 20.0);
d_target_mag = exp10f(TYPEFLOAT(d_target_level) / 20.0) * 32767.0 / 32768.0;
target_level_changed = true;
}
if (d_manual_gain != manual_gain || force)
Expand Down

0 comments on commit 88be527

Please sign in to comment.