mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-13 00:04:10 +00:00
remove meaningless multiplication
value never read
This commit is contained in:
parent
02d5ce331c
commit
1bd85ffba7
1 changed files with 0 additions and 1 deletions
|
@ -99,7 +99,6 @@ fluid_iir_filter_apply(fluid_iir_filter_t* iir_filter,
|
||||||
/* Compensate history to avoid the filter going havoc with large frequency changes */
|
/* Compensate history to avoid the filter going havoc with large frequency changes */
|
||||||
if (iir_filter->compensate_incr && fabs(dsp_b02) > 0.001) {
|
if (iir_filter->compensate_incr && fabs(dsp_b02) > 0.001) {
|
||||||
fluid_real_t compensate = old_b02 / dsp_b02;
|
fluid_real_t compensate = old_b02 / dsp_b02;
|
||||||
dsp_centernode *= compensate;
|
|
||||||
dsp_hist1 *= compensate;
|
dsp_hist1 *= compensate;
|
||||||
dsp_hist2 *= compensate;
|
dsp_hist2 *= compensate;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue