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