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/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 // 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 |
14 // 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. |
15 var sampleRate = 16000; | 15 var sampleRate = 16000; |
16 var renderFrames = 1024; | 16 var renderFrames = 1024; |
17 | 17 |
18 var audit = Audit.createTaskRunner(); | 18 var audit = Audit.createTaskRunner(); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 Should("Summary: ", success).summarize( | 79 Should("Summary: ", success).summarize( |
80 "Output correctly did not change with modified WaveShaper curve.", | 80 "Output correctly did not change with modified WaveShaper curve.", |
81 "Output incorrectly changed due to modified WaveShaper curve."); | 81 "Output incorrectly changed due to modified WaveShaper curve."); |
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 |