| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <html> | |
| 4 <head> | |
| 5 <script src="../resources/js-test.js"></script> | |
| 6 <script src="resources/compatibility.js"></script> | |
| 7 <script src="resources/audit-util.js"></script> | |
| 8 <script src="resources/audio-testing.js"></script> | |
| 9 <script type="text/javascript" src="resources/scriptprocessornode-testing.js"></
script> | |
| 10 </head> | |
| 11 | |
| 12 <body> | |
| 13 | |
| 14 <div id="description"></div> | |
| 15 <div id="console"></div> | |
| 16 | |
| 17 <script> | |
| 18 description("Tests downmixing an 8-channel source connected to a JavaScriptAudio
Node with 2-channel input."); | |
| 19 | |
| 20 var sampleRate = 44100.0; | |
| 21 var sourceChannels = 8; | |
| 22 var inputChannels = 2; | |
| 23 var outputChannels = 6; | |
| 24 | |
| 25 function runTest() { | |
| 26 if (window.testRunner) { | |
| 27 testRunner.dumpAsText(); | |
| 28 testRunner.waitUntilDone(); | |
| 29 } | |
| 30 | |
| 31 window.jsTestIsAsync = true; | |
| 32 | |
| 33 runJSNodeTest(); | |
| 34 } | |
| 35 | |
| 36 runTest(); | |
| 37 | |
| 38 </script> | |
| 39 | |
| 40 </body> | |
| 41 </html> | |
| OLD | NEW |