| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test setTargetAtTime with timeConstant=0</title> | 4 <title>Test setTargetAtTime with timeConstant=0</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/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
| 8 </head> | 8 </head> |
| 9 | 9 |
| 10 <body> | 10 <body> |
| 11 <script> | 11 <script> |
| 12 // Fairly arbitrary sample rate and number of frames, so choose a low | 12 // Fairly arbitrary sample rate and number of frames, so choose a low |
| 13 // sample rate, and short rendering length. | 13 // sample rate, and short rendering length. |
| 14 var sampleRate = 8000; | 14 var sampleRate = 8000; |
| 15 var renderFrames = 128; | 15 var renderFrames = 128; |
| 16 | 16 |
| 17 // Array specifying parameters for setTargetAtTime. |frame| is the frame | 17 // Array specifying parameters for setTargetAtTime. |frame| is the frame |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 "handled correctly", | 79 "handled correctly", |
| 80 "handled incorrectly"); | 80 "handled incorrectly"); |
| 81 | 81 |
| 82 }).then(taskDone); | 82 }).then(taskDone); |
| 83 }); | 83 }); |
| 84 | 84 |
| 85 audit.runTasks(); | 85 audit.runTasks(); |
| 86 </script> | 86 </script> |
| 87 </body> | 87 </body> |
| 88 </html> | 88 </html> |
| OLD | NEW |