audioplayer: s-s: use clamp from util

This commit is contained in:
icxes 2026-02-25 18:44:44 +02:00
parent d3260b27a6
commit 2ae2fbfa36
No known key found for this signature in database

View file

@ -10041,7 +10041,7 @@ var mpss = (function() {
vthresh: afilt.sscv[0],
sthresh: afilt.sscv[1],
etresh: afilt.sscv[2],
sspeed: Math.min(8.0, Math.max(0.15, afilt.sscv[3])),
sspeed: clamp(afilt.sscv[3], 0.15, 8.0),
rspeed: 0.2,
loopInterval: 25,
};