| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test WaveShaper Copies Curve Data</title> | 4 <title>Test WaveShaper Copies Curve Data</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 // Sample rate and number of frames are fairly arbitrary. We need to | 13 // Sample rate and number of frames are fairly arbitrary. We need to |
| 13 // render, however, at least 384 frames. 1024 is a nice small value. | 14 // render, however, at least 384 frames. 1024 is a nice small value. |
| 14 var sampleRate = 16000; | 15 var sampleRate = 16000; |
| 15 var renderFrames = 1024; | 16 var renderFrames = 1024; |
| 16 | 17 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 Should("Summary: ", success).summarize( | 79 Should("Summary: ", success).summarize( |
| 79 "Output correctly did not change with modified WaveShaper curve.", | 80 "Output correctly did not change with modified WaveShaper curve.", |
| 80 "Output incorrectly changed due to modified WaveShaper curve."); | 81 "Output incorrectly changed due to modified WaveShaper curve."); |
| 81 }).then(taskDone); | 82 }).then(taskDone); |
| 82 }); | 83 }); |
| 83 | 84 |
| 84 audit.runTasks(); | 85 audit.runTasks(); |
| 85 </script> | 86 </script> |
| 86 </body> | 87 </body> |
| 87 </html> | 88 </html> |
| OLD | NEW |