mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Interpolators: Revert the use of approximatelyEqual for the windowed-sinc interpolator
Users reported this caused missed deadlines and performance penalties
This commit is contained in:
parent
db60c1d226
commit
72a1a592cd
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ private:
|
|||
sign = (sincPosition < 0 ? -1 : 1);
|
||||
}
|
||||
|
||||
if (approximatelyEqual (sincPosition, 0.0f))
|
||||
if (exactlyEqual (sincPosition, 0.0f))
|
||||
result += inputs[samplePosition];
|
||||
else if (sincPosition < floatCrossings && sincPosition > -floatCrossings)
|
||||
result += inputs[samplePosition] * windowedSinc (firstFrac, index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue