gecko/content/media/test/crashtests/874934.html
Ehsan Akhgari c08a3bf04a Bug 874915 - Stop the AudioBufferSourceNode if the offset is no longer valid after setting a new buffer; r=roc
--HG--
extra : rebase_source : 0b179aab5ddb1ffd4ab2aeb8366b36975c949187
2013-05-23 07:50:48 -04:00

24 lines
759 B
HTML

<script>
var Context0= new AudioContext()
var BufferSource0=Context0.createBufferSource();
BufferSource0.start(0.01932738965842873,0.33345631847623736,0.3893404237460345);
BufferSource0.buffer=function(){
var length=35887;
var Buffer=Context0.createBuffer(1,length,Context0.sampleRate);
var bufferData= Buffer.getChannelData(0);
for (var i = 0; i < length; ++i) { bufferData[i] = Math.sin(i*(0.39765272522345185))};
return Buffer;
}();
BufferSource0.buffer=function(){
var length=15952;
var Buffer=Context0.createBuffer(1,length,Context0.sampleRate);
var bufferData= Buffer.getChannelData(0);
for (var i = 0; i < length; ++i) { bufferData[i] = Math.sin(i*(85))};
return Buffer;
}();
BufferSource0.playbackRate.value=20.401213286832185;
</script>