Skip to content

Commit 2271477

Browse files
committed
fakeUint8Array called forEachIndex with wrong parameters.
Fixes #266
1 parent e3861e6 commit 2271477

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/modifiedAudioAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
if (!cached){
132132
var rate = getAudioFakeRate(array, prefs);
133133
var rng = randomSupply.getValueRng(rate, window);
134-
forEachIndex(prefs, function(index, i){
134+
forEachIndex(array, prefs, function(index, i){
135135
array[index] = rng(array[index], i);
136136
});
137137
if (prefs("useAudioCache")){

0 commit comments

Comments
 (0)