W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

Re: Clarification with regard to AudioNode.numberOfInputs and AudioNode.numberOfOutputs

From: Chris Rogers <crogers@google.com>
Date: Tue, 2 Oct 2012 13:35:25 -0700
Message-ID: <CA+EzO0nUEpAzkkdy07z5w436f0=4OsOFrSFr9Q2_CEVhd-asuw@mail.gmail.com>
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Cc: public-audio@w3.org
On Tue, Oct 2, 2012 at 1:06 PM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> Hi all,
> Let's imagine that a given AudioNode supports up to N inputs.  What should
> the numberOfInputs attribute return if the node has M inputs (M <= N) bound
> to it?  Specifically, the relationship between which slots in the node's
> inputs are connected and which whether numberOfInputs should only count
> those is not clear in the current spec.  And the equivalent question is
> applicable to numberOfOutputs.
> Thanks!
> --
> Ehsan
> <http://ehsanakhgari.org/>

Hi Ehsan, I'm guessing you're thinking of AudioChannelSplitter and
AudioChannelMerger?  These nodes are created with a specific number of
inputs/outputs.  Whether or not they are connected should not reflect the
values reported in .numberOfInputs or .numberOfOutputs

Received on Tuesday, 2 October 2012 20:35:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:13 UTC