mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DelayLine: Fix a bug in Lagrange interpolation
This commit is contained in:
parent
8ed3618e12
commit
61a4a3785a
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