Skip to content

Commit 0771343

Browse files
committed
fixed a bug in audio recorder
1 parent f023e1e commit 0771343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/scripts/recorder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ DEALINGS IN THE SOFTWARE.
182182
if (outSampleRate == sampleRate){
183183
var result = new Float32Array(array.length);
184184
for (let i = 0 ; i < array.length ; i++){
185-
result.push(array[i]);
185+
result[i] = array[i];
186186
}
187187
return array;
188188
}

0 commit comments

Comments
 (0)