From b9de51a12596d3102278e3a6b832e804024fc0de Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 18 Feb 2020 23:44:22 -0800 Subject: [PATCH] comments - release --- components/squeezelite/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/squeezelite/display.c b/components/squeezelite/display.c index 0fedb87e..3e7d1b42 100644 --- a/components/squeezelite/display.c +++ b/components/squeezelite/display.c @@ -640,7 +640,7 @@ static void visu_update(void) { if (visu.mode == VISU_VUMETER) { s16_t *iptr = visu_export.buffer; - // calculate sum(X²), try to not overflow at the expense of some precision + // calculate sum(L²+R²), try to not overflow at the expense of some precision for (int i = RMS_LEN; --i >= 0;) { visu.bars[0].current += (*iptr * *iptr + (1 << (RMS_LEN_BIT - 2))) >> (RMS_LEN_BIT - 1); iptr++;