audioplayer: s-s: use clamp from util (#1313)

This commit is contained in:
exci 2026-02-25 19:07:45 +02:00 committed by GitHub
parent d3260b27a6
commit 7c60adc69c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10041,7 +10041,7 @@ var mpss = (function() {
vthresh: afilt.sscv[0], vthresh: afilt.sscv[0],
sthresh: afilt.sscv[1], sthresh: afilt.sscv[1],
etresh: afilt.sscv[2], 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, rspeed: 0.2,
loopInterval: 25, loopInterval: 25,
}; };