| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>ScriptProcessorNode on OfflineAudioContext</title> | 4 <title>ScriptProcessorNode on OfflineAudioContext</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 <body> | 10 <body> |
| 10 <script> | 11 <script> |
| 11 var audit = Audit.createTaskRunner(); | 12 var audit = Audit.createTaskRunner(); |
| 12 | 13 |
| 13 | 14 |
| 14 // Fill the output of script processor with a constant value. | 15 // Fill the output of script processor with a constant value. |
| 15 audit.defineTask('simple-output', function (taskDone) { | 16 audit.defineTask('simple-output', function (taskDone) { |
| 16 var sampleRate = 44100; | 17 var sampleRate = 44100; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 86 |
| 86 taskDone(); | 87 taskDone(); |
| 87 }); | 88 }); |
| 88 }); | 89 }); |
| 89 | 90 |
| 90 | 91 |
| 91 audit.runTasks(); | 92 audit.runTasks(); |
| 92 </script> | 93 </script> |
| 93 </body> | 94 </body> |
| 94 </html> | 95 </html> |
| OLD | NEW |