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