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