1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
4 <script src=
"resources/compatibility.js"></script>
5 <script src=
"resources/audio-testing.js"></script>
6 <script src=
"../resources/js-test.js"></script>
7 <script src=
"resources/distance-model-testing.js"></script>
11 <div id=
"description"></div>
12 <div id=
"console"></div>
15 description("Test exponential distance model of AudioPannerNode.");
18 if (window
.testRunner
) {
19 testRunner
.dumpAsText();
20 testRunner
.waitUntilDone();
23 window
.jsTestIsAsync
= true;
25 // Create offline audio context.
26 context
= new OfflineAudioContext(2, sampleRate
* renderLengthSeconds
, sampleRate
);
28 createTestAndRun(context
, "exponential");
32 successfullyParsed
= true;