Skip to content

Commit

Permalink
Merge pull request #19 from NickCulbertson/IncreaseMinDelay
Browse files Browse the repository at this point in the history
Increase minimum delay time in StereoDelay.cpp
  • Loading branch information
NickCulbertson authored Jan 16, 2024
2 parents fe8ac01 + c367e97 commit 2eda496
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ namespace DunneCore

void StereoDelay::setDelayMs(double delayMs)
{
delayLine1.setDelayMs(delayMs);
delayLine2.setDelayMs(delayMs);
delayLine1.setDelayMs(fmax(1.0, delayMs));
delayLine2.setDelayMs(fmax(1.0, delayMs));
}

void StereoDelay::setFeedback(float fraction)
Expand Down

0 comments on commit 2eda496

Please sign in to comment.