Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / webaudio / scriptprocessornode-upmix2-8channel-input.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <script src="../resources/js-test.js"></script>
6 <script src="resources/audio-testing.js"></script>
7 <script type="text/javascript" src="resources/scriptprocessornode-testing.js"></script>
8 </head>
9
10 <body>
11
12 <div id="description"></div>
13 <div id="console"></div>
14
15 <script>
16 description("Tests upmixing a 2-channel source connected to a JavaScriptAudioNode with 8-channel input.");
17
18 var sampleRate = 44100.0;
19 var sourceChannels = 2;
20 var inputChannels = 8;
21 var outputChannels = 6;
22
23 function runTest() {
24     if (window.testRunner) {
25         testRunner.dumpAsText();
26         testRunner.waitUntilDone();
27     }
28
29     window.jsTestIsAsync = true;
30
31     runJSNodeTest();
32 }
33
34 runTest();
35
36 </script>
37
38 </body>
39 </html>