diff options
author | pcktm <jakub@kopanko.com> | 2023-06-11 17:26:04 +0200 |
---|---|---|
committer | pcktm <jakub@kopanko.com> | 2023-06-11 17:26:04 +0200 |
commit | 118615b66f298913e246db23b3e37e5ddce04ba7 (patch) | |
tree | 93823101f1d57174caa8799ef2e92481aa06eee5 /src | |
parent | 1f35436d5780d310deccdec78cbb0fe6e993518d (diff) |
Remove unneeded roundToFraction
Diffstat (limited to 'src')
-rw-r--r-- | src/effects/backends/builtin/glitcheffect.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/effects/backends/builtin/glitcheffect.cpp b/src/effects/backends/builtin/glitcheffect.cpp index 4fff456de6..e801caffdd 100644 --- a/src/effects/backends/builtin/glitcheffect.cpp +++ b/src/effects/backends/builtin/glitcheffect.cpp @@ -92,7 +92,6 @@ void GlitchEffect::processChannel( engineParameters.sampleRate()); min_delay = 1 / 8.0 * groupFeatures.beat_length_sec * engineParameters.sampleRate(); } else { - period = roundToFraction(period, 8); delay_frames = static_cast<int>(period * engineParameters.sampleRate()); min_delay = 1 / 8.0 * engineParameters.sampleRate(); } |