Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
| 6 <script src="../../resources/testharnessreport.js"></script> | |
| 6 <script src="../resources/audit-util.js"></script> | 7 <script src="../resources/audit-util.js"></script> |
| 7 <script src="../resources/audio-testing.js"></script> | 8 <script src="../resources/audit.js"></script> |
| 8 <script type="text/javascript" src="../resources/scriptprocessornode-testing.js" ></script> | 9 <script src="../resources/scriptprocessornode-testing-audit.js"></script> |
| 9 </head> | 10 </head> |
| 10 | 11 |
| 11 <body> | 12 <body> |
| 13 <script> | |
| 14 let audit = Audit.createTaskRunner(); | |
| 12 | 15 |
| 13 <div id="description"></div> | 16 let sampleRate = 44100.0; |
| 14 <div id="console"></div> | 17 let sourceChannels = 2; |
| 18 let inputChannels = 8; | |
| 19 let outputChannels = 6; | |
| 15 | 20 |
| 16 <script> | 21 audit.define( |
| 17 description("Tests upmixing a 2-channel source connected to a JavaScriptAudioNod e with 8-channel input."); | 22 { |
| 23 label: 'test', | |
| 24 description: | |
| 25 'upmixing a 2-channel source connected to a JavaScriptAudioNode with 8 -channel input' | |
|
hongchan
2017/02/24 23:12:46
Ditto.
Raymond Toy
2017/02/27 17:31:22
Done.
| |
| 26 }, | |
| 27 (task, should) => { | |
| 28 runJSNodeTest(should).then(() => task.done()); | |
| 29 ; | |
| 30 }); | |
| 18 | 31 |
| 19 var sampleRate = 44100.0; | 32 audit.run(); |
| 20 var sourceChannels = 2; | |
| 21 var inputChannels = 8; | |
| 22 var outputChannels = 6; | |
| 23 | |
| 24 window.jsTestIsAsync = true; | |
| 25 | |
| 26 function runTest() { | |
| 27 if (window.testRunner) | |
| 28 testRunner.dumpAsText(); | |
| 29 runJSNodeTest(); | |
| 30 } | |
| 31 | |
| 32 runTest(); | |
| 33 | |
| 34 </script> | 33 </script> |
| 35 | 34 |
| 36 </body> | 35 </body> |
| 37 </html> | 36 </html> |
| OLD | NEW |