[Bug 17396] (numberOfChannels): AudioDestinationNode.numberOfChannels

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17396

--- Comment #7 from Chris Rogers <crogers@google.com> ---
(In reply to comment #6)
> I'm also really unclear on this. The current draft includes some downmix
> matricies, but doesn't say when they are to be used.
> 
> Mapping to a smaller number of output channels inside an
> AudioDestinationNode is the only obvious place I see, but this is difficult
> to apply consistently since surround playback is often supported on systems
> without multichannel playback hardware, with the OS doing its own
> downmixing. In other words, when "downmixing should be supported" which
> software layer should be doing the supporting?
> 
> If setting numberOfChannels asks AudioDestinationNode to up/down mix to a
> particular number of output channels (ignoring what the lower layers might
> do with this) how do we set it pass-through?
> 
> Should maxNumberOfChannels change in response to configuration changes?

(for what it's worth this hasn't yet been implemented in WebKit)

Robert and I have been discussing this but don't have all the answers yet. 
Robert suggests that the up/down mixing would be a property of each node, which
could make sense.  We've also discussed the idea of a way to query the
AudioContext for the hardware channel layout, in addition to just the raw
number of channels (.maxNumberOfChannels).  Then we would allow the JS code to
configure the up/down mixing behavior as it wishes, perhaps using the hardware
channel layout information.  Robert, can jump in if I've misunderstood.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 16 January 2013 01:11:59 UTC