Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Feb 21, 2024
1 parent d6c1435 commit ad2f167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gin_dsp/dsp/gin_wtoscillators.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class WTOscillator
void setSampleRate (double sr)
{
sampleRate = sr;
blockerL.setSampleRate (sr);
blockerR.setSampleRate (sr);
blockerL.setSampleRate (float (sr));
blockerR.setSampleRate (float (sr));
blockerL.setCutoff (10.0f);
blockerR.setCutoff (10.0f);
}
Expand Down

0 comments on commit ad2f167

Please sign in to comment.