audioplayer: limit s-s playback speed multi to 8

browsers don't play any audio if the playbackrate is too high or too low; on firefox, values below 8.0 and above 0.15 seem to work, so those should work as limits
This commit is contained in:
icxes 2026-02-21 17:26:43 +02:00
parent 2086ba077d
commit faba995877
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: afilt.sscv[3],
sspeed: Math.min(8.0, Math.max(0.15, afilt.sscv[3])),
rspeed: 0.2,
loopInterval: 25,
};