mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 13:33:09 -07:00
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:
parent
2086ba077d
commit
faba995877
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue