This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

numberOfChannels

Summary

The number of channels of the destination’s input. This value will default to 2, and may be set to any non-zero value less than or equal to maxChannelCount. An exception will be thrown if this value is not within the valid range.

Not in spec; deletion candidate. Possibly confused with AudioBuffer/numberOfChannels. See http://webaudio.github.io/web-audio-api/.

Property of apis/webaudio/AudioDestinationNodeapis/webaudio/AudioDestinationNode

Syntax

var result = AudioDestinationNode.numberOfChannels;
AudioDestinationNode.numberOfChannels = value;

Return Value

Returns an object of type unsigned longunsigned long

Related specifications

W3C Web Audio API
W3C Editor’s Draft