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; | 24 function runTest() { |
| 25 if (window.testRunner) { |
| 26 testRunner.dumpAsText(); |
| 27 testRunner.waitUntilDone(); |
| 28 } |
25 | 29 |
26 function runTest() { | 30 window.jsTestIsAsync = true; |
27 if (window.testRunner) | 31 |
28 testRunner.dumpAsText(); | |
29 runJSNodeTest(); | 32 runJSNodeTest(); |
30 } | 33 } |
31 | 34 |
32 runTest(); | 35 runTest(); |
33 | 36 |
34 </script> | 37 </script> |
35 | 38 |
36 </body> | 39 </body> |
37 </html> | 40 </html> |
OLD | NEW |