From be53922861cef9727aec0c6214fb9e7ecde2cdd7 Mon Sep 17 00:00:00 2001 From: Mid <> Date: Sun, 22 Dec 2024 12:03:49 +0200 Subject: [PATCH] debug fix --- blarf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blarf.js b/blarf.js index efbca28..b3b6b79 100644 --- a/blarf.js +++ b/blarf.js @@ -140,7 +140,7 @@ text = text + k + ":" + (Math.floor(100 * Statistics[k].sum / Statistics[k].count) / 100) + "," } stats.innerText = text*/ - stats.innerHTML = (VideoQueue.length ? (VideoQueue[VideoQueue.length - 1].t - VideoQueue[0].t) : "0") + "v" + (AudioQueue.reduce(function(acc, obj) {return acc + obj.left.length * AudHz / 1000}, 0)|0) + "a" + stats.innerHTML = (VideoQueue.length ? (VideoQueue[VideoQueue.length - 1].t - VideoQueue[0].t) : "0") + "v" + (AudioQueue.reduce(function(acc, obj) {return acc + obj.left.length * 1000 / AudHz}, 0)|0) + "a" } }