AustrianAudioGmbH / PolarDesigner

Plug-in allowing you to control the polar pattern of your OC818 microphone in up to five frequency bands. Developed by Simon, Thomas, IEM, and AA.
GNU General Public License v3.0
34 stars 4 forks source link

Proximity filter: unreachable code #20

Open oholiba opened 1 year ago

oholiba commented 1 year ago

In the void PolarDesignerAudioProcessor::setProxCompCoefficients(float distance) function in PluginProcessor.cpp the calculated variable r can never go below 0.05 when the input variable distance stays in the range -1...+1. Therefore the condition r < 0.01 is never satisfied.