Skip to content

Commit

Permalink
Fix broken comparison causing #1469 to become less effective
Browse files Browse the repository at this point in the history
Addresses #1481
  • Loading branch information
derselbst committed Feb 18, 2025
1 parent 34711b5 commit 4af6961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rvoice/fluid_rvoice_dsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ int dsp_invoker(fluid_rvoice_t *rvoice, fluid_real_t *FLUID_RESTRICT dsp_buf, in
T func;
bool is_24bit = rvoice->dsp.sample->data24 != NULL;

if (rvoice->resonant_custom_filter.flags & FLUID_IIR_DISABLED)
if (rvoice->resonant_custom_filter.type == FLUID_IIR_DISABLED)
{
if (is_24bit)
{
Expand Down

0 comments on commit 4af6961

Please sign in to comment.