mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
29f77b83af
--HG-- extra : transplant_source : %1A%09%7D%14MM%B2_p%2B%27%C4M%C3%A2%83%F3C%C4%DC
18 lines
518 B
HTML
18 lines
518 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<script>
|
|
var context = new window.OfflineAudioContext(1, 100, 48000);
|
|
context.oncomplete = function(e) {
|
|
document.documentElement.removeAttribute("class");
|
|
};
|
|
// zero up vector
|
|
context.listener.setOrientation(0, 6.311749985202524e+307, 0, 0, 0, 0);
|
|
var panner = context.createPanner();
|
|
panner.setPosition(1, 2, 3);
|
|
panner.connect(context.destination);
|
|
var source = context.createOscillator();
|
|
source.connect(panner);
|
|
source.start(0);
|
|
context.startRendering();
|
|
</script>
|