Skip to content

Commit

Permalink
Waves
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Jul 17, 2024
1 parent ceab0fc commit c8663f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zen.Desktop.Host/Features/WaveVisualiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private void CentreChannel(float[] buffer)
}
}

var startPos = BufferSize / 2 + maxPos - (maxPos - minPos) / 2;
var startPos = maxPos - (maxPos - minPos) / 2;

for (var i = 0; i < BufferSize; i++)
{
Expand Down

0 comments on commit c8663f2

Please sign in to comment.