blob: de8546316c5534dcaa5c7ef593015abb81608fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<html class="reftest-wait">
<script>
var context = new AudioContext();
var source = context.createBufferSource();
source.buffer = context.createBuffer(1, 2.0 * context.sampleRate, context.sampleRate);
source.onended = function(e) {
document.documentElement.removeAttribute("class");
}
source.start(0.0, 1.0);
setTimeout(
function() {
source.buffer = context.createBuffer(1, 1, context.sampleRate);
}, 0);
</script>
|