Bug 1456265 - Also update test_channelSplitterNodeWithVolume.html
authorPaul Adenot <paul@paul.cx>
Wed, 30 May 2018 18:23:37 +0200
changeset 420912 5e29b22bdc87b75e3018de7a4a3520416c2a6dba
parent 420911 4db08132627285371ab8bee3ea0353b7cfe52e43
child 420913 09b83c6b28ed0f9bc32e35182592aace627e3019
push id34083
push userapavel@mozilla.com
push dateSat, 02 Jun 2018 23:03:25 +0000
treeherdermozilla-central@1f62ecdf59b6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1456265
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1456265 - Also update test_channelSplitterNodeWithVolume.html
dom/media/webaudio/test/test_channelSplitterNodeWithVolume.html
--- a/dom/media/webaudio/test/test_channelSplitterNodeWithVolume.html
+++ b/dom/media/webaudio/test/test_channelSplitterNodeWithVolume.html
@@ -27,19 +27,19 @@ addLoadEvent(function() {
   }
   var emptyBuffer = context.createBuffer(1, 2048, context.sampleRate);
 
   var destination = context.destination;
 
   var source = context.createBufferSource();
 
   var splitter = context.createChannelSplitter();
-  is(splitter.channelCount, 2, "splitter node has 2 input channels by default");
-  is(splitter.channelCountMode, "max", "Correct channelCountMode for the splitter node");
-  is(splitter.channelInterpretation, "speakers", "Correct channelCountInterpretation for the splitter node");
+  is(splitter.channelCount, 6, "splitter node has 2 input channels by default");
+  is(splitter.channelCountMode, "explicit", "Correct channelCountMode for the splitter node");
+  is(splitter.channelInterpretation, "discrete", "Correct channelCountInterpretation for the splitter node");
 
   source.buffer = buffer;
   var gain = context.createGain();
   gain.gain.value = 0.5;
   source.connect(gain);
   gain.connect(splitter);
 
   var channelsSeen = 0;