From 79f0b14221e631d2e345755ee814f5f4fb892b05 Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Sat, 13 Apr 2024 10:13:52 +0200 Subject: [PATCH] Code review changes --- src/gui/instrument/LfoGraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/instrument/LfoGraph.cpp b/src/gui/instrument/LfoGraph.cpp index 470bea51079..76670823761 100644 --- a/src/gui/instrument/LfoGraph.cpp +++ b/src/gui/instrument/LfoGraph.cpp @@ -96,7 +96,7 @@ void LfoGraph::paintEvent(QPaintEvent*) { float value = 0.0; float currentSample = x * framesForGraph / lfoGraphWidth; - const f_cnt_t sampleAsFrameCount = static_cast(currentSample); + const auto sampleAsFrameCount = static_cast(currentSample); if (sampleAsFrameCount > predelayFrames) { const float phase = (currentSample -= predelayFrames) / oscFrames;