5 <script src=
"../resources/js-test.js"></script>
6 <script src=
"resources/compatibility.js"></script>
7 <script src=
"resources/audio-testing.js"></script>
8 <script type=
"text/javascript" src=
"resources/scriptprocessornode-testing.js"></script>
13 <div id=
"description"></div>
14 <div id=
"console"></div>
17 description("Tests downmixing an 8-channel source connected to a JavaScriptAudioNode with 2-channel input.");
19 var sampleRate
= 44100.0;
20 var sourceChannels
= 8;
21 var inputChannels
= 2;
22 var outputChannels
= 6;
25 if (window
.testRunner
) {
26 testRunner
.dumpAsText();
27 testRunner
.waitUntilDone();
30 window
.jsTestIsAsync
= true;