OLD | NEW |
| (Empty) |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
2 <html> | |
3 <head> | |
4 <script src="../resources/js-test.js"></script> | |
5 <script src="resources/compatibility.js"></script> | |
6 <script src="resources/audit-util.js"></script> | |
7 <script src="resources/audio-testing.js"></script> | |
8 <script src="resources/distance-model-testing.js"></script> | |
9 </head> | |
10 | |
11 <body> | |
12 <div id="description"></div> | |
13 <div id="console"></div> | |
14 | |
15 <script> | |
16 description("Test linear distance model of AudioPannerNode."); | |
17 | |
18 function runTest() { | |
19 if (window.testRunner) { | |
20 testRunner.dumpAsText(); | |
21 testRunner.waitUntilDone(); | |
22 } | |
23 | |
24 window.jsTestIsAsync = true; | |
25 | |
26 // Create offline audio context. | |
27 context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds,
sampleRate); | |
28 | |
29 createTestAndRun(context, "linear"); | |
30 } | |
31 | |
32 runTest(); | |
33 successfullyParsed = true; | |
34 | |
35 </script> | |
36 | |
37 </body> | |
38 </html> | |
OLD | NEW |