Skip to content

Commit

Permalink
Code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgregorius committed Apr 13, 2024
1 parent 49868d4 commit 79f0b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/instrument/LfoGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void LfoGraph::paintEvent(QPaintEvent*)
{
float value = 0.0;
float currentSample = x * framesForGraph / lfoGraphWidth;
const f_cnt_t sampleAsFrameCount = static_cast<f_cnt_t>(currentSample);
const auto sampleAsFrameCount = static_cast<f_cnt_t>(currentSample);
if (sampleAsFrameCount > predelayFrames)
{
const float phase = (currentSample -= predelayFrames) / oscFrames;
Expand Down

0 comments on commit 79f0b14

Please sign in to comment.