Skip to content

Commit

Permalink
Update StereoDelay.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCulbertson committed Dec 6, 2023
1 parent fe8ac01 commit c367e97
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 c367e97

Please # to comment.