diff --git a/src/twonder/delayline.cpp b/src/twonder/delayline.cpp index 796e04a..f468399 100644 --- a/src/twonder/delayline.cpp +++ b/src/twonder/delayline.cpp @@ -139,6 +139,7 @@ void DelayLine::get(DelayCoeff& coeff0, DelayCoeff& coeff1, float* samples, factor += factorsDelta; if (readPosF >= lineLengthF) { readPosF -= lineLength; } + if (readPosF <= -1.0) { readPosF += lineLength;} } }