mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
DelayLine: Fix a bug in Lagrange interpolation
This commit is contained in:
parent
69795dc8e5
commit
600881f373
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue