1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

fakeUint8Array called forEachIndex with wrong parameters.

Fixes #266
This commit is contained in:
kkapsner 2018-09-18 21:52:15 +02:00
parent e3861e67b4
commit 2271477376

View File

@ -131,7 +131,7 @@
if (!cached){
var rate = getAudioFakeRate(array, prefs);
var rng = randomSupply.getValueRng(rate, window);
forEachIndex(prefs, function(index, i){
forEachIndex(array, prefs, function(index, i){
array[index] = rng(array[index], i);
});
if (prefs("useAudioCache")){