blob: 2af3c8f46018d2000470a9af273550d1227311be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html class="reftest-wait">
<script>
var context = new window.AudioContext();
var source = context.createBufferSource();
source.buffer = context.createBuffer(1, 1, context.sampleRate);
source.onended =
function(e) {
setTimeout(
function() {
var panner = context.createPanner();
source.connect(panner);
panner.setVelocity(1.0, 0.0, 0.0);
setTimeout(
function() {
document.documentElement.removeAttribute("class");
},
0);
},
0);
};
source.start(0);
</script>
|