Implement DOMPoint.fromPoint

This commit is contained in:
Kagami Sascha Rosylight 2019-07-05 11:03:34 +09:00
parent 5f477707a1
commit 40dbb2c100
19 changed files with 30 additions and 133 deletions

View file

@ -45,7 +45,7 @@
// The promise from |startRendering| is returned.
function doTest(context, should, options) {
let merger = new ChannelMergerNode(
context, {numberOfInputs: context.destination.numberOfChannels});
context, {numberOfInputs: context.destination.channelCount});
merger.connect(context.destination);
let src = null;

View file

@ -32,7 +32,7 @@
});
let merger = new ChannelMergerNode(
context, {numberOfInputs: context.numberOfChannels});
context, {numberOfInputs: context.destination.channelCount});
merger.connect(context.destination);
let inverter = new GainNode(context, {gain: -1});
inverter.connect(merger, 0, 2);