| 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/audio-testing.js"></script> | 8 <script src="resources/audio-testing.js"></script> |
| 8 </head> | 9 </head> |
| 9 | 10 |
| 10 <body> | 11 <body> |
| 11 <script> | 12 <script> |
| 12 // Fairly arbitrary sample rate and render frames. | 13 // Fairly arbitrary sample rate and render frames. |
| 13 var sampleRate = 16000; | 14 var sampleRate = 16000; |
| 14 var renderFrames = 2048; | 15 var renderFrames = 2048; |
| 15 | 16 |
| 16 var audit = Audit.createTaskRunner(); | 17 var audit = Audit.createTaskRunner(); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 .summarize( | 121 .summarize( |
| 121 "correctly clamped rolloffFactor to " + options.clampedRolloff, | 122 "correctly clamped rolloffFactor to " + options.clampedRolloff, |
| 122 "did not correctly clamp rolloffFactor to " + options.clampedRol
loff); | 123 "did not correctly clamp rolloffFactor to " + options.clampedRol
loff); |
| 123 }); | 124 }); |
| 124 } | 125 } |
| 125 | 126 |
| 126 audit.runTasks(); | 127 audit.runTasks(); |
| 127 </script> | 128 </script> |
| 128 </body> | 129 </body> |
| 129 </html> | 130 </html> |
| OLD | NEW |