OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test Clamping of PannerNode rolloffFactor</title> | 4 <title>Test Clamping of PannerNode rolloffFactor</title> |
5 <script src="../resources/testharness.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
6 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../../resources/testharnessreport.js"></script> |
7 <script src="resources/audit-util.js"></script> | 7 <script src="../resources/audit-util.js"></script> |
8 <script src="resources/audio-testing.js"></script> | 8 <script src="../resources/audio-testing.js"></script> |
9 </head> | 9 </head> |
10 | 10 |
11 <body> | 11 <body> |
12 <script> | 12 <script> |
13 // Fairly arbitrary sample rate and render frames. | 13 // Fairly arbitrary sample rate and render frames. |
14 var sampleRate = 16000; | 14 var sampleRate = 16000; |
15 var renderFrames = 2048; | 15 var renderFrames = 2048; |
16 | 16 |
17 var audit = Audit.createTaskRunner(); | 17 var audit = Audit.createTaskRunner(); |
18 | 18 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 .summarize( | 121 .summarize( |
122 "correctly clamped rolloffFactor to " + options.clampedRolloff, | 122 "correctly clamped rolloffFactor to " + options.clampedRolloff, |
123 "did not correctly clamp rolloffFactor to " + options.clampedRol
loff); | 123 "did not correctly clamp rolloffFactor to " + options.clampedRol
loff); |
124 }); | 124 }); |
125 } | 125 } |
126 | 126 |
127 audit.runTasks(); | 127 audit.runTasks(); |
128 </script> | 128 </script> |
129 </body> | 129 </body> |
130 </html> | 130 </html> |
OLD | NEW |