зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1456265 - Also update test_channelSplitterNodeWithVolume.html
--HG-- extra : source : ee0c4548a78a794de83ce82d994bd5cfa6c84e23
This commit is contained in:
Родитель
3955fc17ca
Коммит
ab00a9be11
|
@ -32,9 +32,9 @@ addLoadEvent(function() {
|
||||||
var source = context.createBufferSource();
|
var source = context.createBufferSource();
|
||||||
|
|
||||||
var splitter = context.createChannelSplitter();
|
var splitter = context.createChannelSplitter();
|
||||||
is(splitter.channelCount, 2, "splitter node has 2 input channels by default");
|
is(splitter.channelCount, 6, "splitter node has 2 input channels by default");
|
||||||
is(splitter.channelCountMode, "max", "Correct channelCountMode for the splitter node");
|
is(splitter.channelCountMode, "explicit", "Correct channelCountMode for the splitter node");
|
||||||
is(splitter.channelInterpretation, "speakers", "Correct channelCountInterpretation for the splitter node");
|
is(splitter.channelInterpretation, "discrete", "Correct channelCountInterpretation for the splitter node");
|
||||||
|
|
||||||
source.buffer = buffer;
|
source.buffer = buffer;
|
||||||
var gain = context.createGain();
|
var gain = context.createGain();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче