| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title> |
| 5 scriptprocessornode-downmix8-2channel-input.html |
| 6 </title> |
| 7 <script src="../../resources/testharness.js"></script> |
| 8 <script src="../../resources/testharnessreport.js"></script> |
| 9 <script src="../resources/audit-util.js"></script> |
| 10 <script src="../resources/audit.js"></script> |
| 11 <script src="../resources/scriptprocessornode-testing-audit.js"></script> |
| 12 </head> |
| 13 <body> |
| 14 <script id="layout-test-code"> |
| 15 let audit = Audit.createTaskRunner(); |
| 2 | 16 |
| 3 <html> | 17 let sampleRate = 44100.0; |
| 4 <head> | 18 let sourceChannels = 8; |
| 5 <script src="../../resources/testharness.js"></script> | 19 let inputChannels = 2; |
| 6 <script src="../../resources/testharnessreport.js"></script> | 20 let outputChannels = 6; |
| 7 <script src="../resources/audit-util.js"></script> | |
| 8 <script src="../resources/audit.js"></script> | |
| 9 <script src="../resources/scriptprocessornode-testing-audit.js"></script> | |
| 10 </head> | |
| 11 | 21 |
| 12 <body> | 22 audit.define( |
| 13 <script> | 23 { |
| 14 let audit = Audit.createTaskRunner(); | 24 label: 'test', |
| 25 description: |
| 26 'downmix 8-channel source to ScriprProcessNode with 2-channel in
put' |
| 27 }, |
| 28 (task, should) => { |
| 29 runJSNodeTest(should).then(() => task.done()); |
| 30 }); |
| 15 | 31 |
| 16 let sampleRate = 44100.0; | 32 audit.run(); |
| 17 let sourceChannels = 8; | 33 </script> |
| 18 let inputChannels = 2; | 34 </body> |
| 19 let outputChannels = 6; | |
| 20 | |
| 21 audit.define( | |
| 22 { | |
| 23 label: 'test', | |
| 24 description: | |
| 25 'downmix 8-channel source to ScriprProcessNode with 2-channel input' | |
| 26 }, | |
| 27 (task, should) => { | |
| 28 runJSNodeTest(should).then(() => task.done()); | |
| 29 }); | |
| 30 | |
| 31 audit.run(); | |
| 32 | |
| 33 </script> | |
| 34 | |
| 35 </body> | |
| 36 </html> | 35 </html> |
| OLD | NEW |