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