Browse Source

DelayLine: Fix a bug in Lagrange interpolation

v7.0.9
Tom Poole 2 years ago
parent
commit
600881f373
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_dsp/processors/juce_DelayLine.h

+ 1
- 1
modules/juce_dsp/processors/juce_DelayLine.h View File

@@ -283,7 +283,7 @@ private:
{
if constexpr (std::is_same_v<InterpolationType, DelayLineInterpolationTypes::Lagrange3rd>)
{
if (delayInt >= 1)
if (delayFrac < (SampleType) 2.0 && delayInt >= 1)
{
delayFrac++;
delayInt--;


Loading…
Cancel
Save