浏览代码

comments - release

philippe44 5 年之前
父节点
当前提交
b9de51a125
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/squeezelite/display.c

+ 1 - 1
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++;