Skip to content

Commit

Permalink
fix(filter attach): make sure target filter type gets updated
Browse files Browse the repository at this point in the history
  • Loading branch information
zsliu98 committed Feb 25, 2024
1 parent dce5e0c commit 2a212a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dsp/filters_attach.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ namespace zlDSP {
}
filtersRef[idx].getTargetFilter().setFreq(filtersRef[idx].getBaseFilter().getFreq(), false);
filtersRef[idx].getTargetFilter().setFilterType(filtersRef[idx].getBaseFilter().getFilterType(), false);
filtersRef[idx].getTargetFilter().setOrder(filtersRef[idx].getBaseFilter().getOrder(), false);
filtersRef[idx].getTargetFilter().setOrder(filtersRef[idx].getBaseFilter().getOrder(), true);
const std::array dynamicInitValues{
targetGain::convertTo01(tGain),
targetQ::convertTo01(
Expand Down

0 comments on commit 2a212a4

Please sign in to comment.