blob: 564317f7de85ddbea09c0bd420e4fc20630a16c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<html>
<head>
<title>Test large bufferOffset in copyFromChannel()</title>
</head>
<script>
const a = new AudioBuffer({length: 0x51986, sampleRate: 44100});
const b = new Float32Array(0x10);
a.getChannelData(0); // to avoid zero data optimization
a.copyFromChannel(b, 0, 0x1523c7cc)
</script>
</html>
|