mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-19 07:31:25 +00:00
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>
|