mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
21298924c4
--HG-- extra : transplant_source : %1A%09%7D%14MM%B2_p%2B%27%C4M%C3%A2%83%F3C%C4%DC
18 lines
544 B
HTML
18 lines
544 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");
|
|
};
|
|
// linearly dependent
|
|
context.listener.setOrientation(0, 0, -6.311749985202524e+307, 0, 0, 6.311749985202524e+307);
|
|
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>
|