mozilla
Your Search Results

    AudioDestinationNode

    Draft
    This page is not complete.

    « Web Audio API

    The AudioDestinationNode interface represents the end destination of an audio source in a given context — usually the speakers of your device.

    AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked to it) and one input. The amount of channels in the input must be between 0 and the maxChannelCount value or an exception is raised.

    The AudioDestinationNode of a given AudioContext can be retrieved using the AudioContext.destination property.

    • Number of inputs 1
    • Number of outputs 0
    • Channel count mode "explicit"
    • Channel count 2
    • Channel interpretation "speakers"

    Properties

    Inherits properties from its parent, AudioNode.

    AudioDestinationNode.maxChannelCount
    Is an unsigned long defining the maximum amount of channels that the physical device can handle. The channel count can be set between this value and 0 (both included). If maxChannelCount is 0, like in OfflineAudioContext, the channel count cannot be changed.

    Methods

    No specific method; inherits methods from its parent, AudioNode.

    Examples

     

    Specifications

    Specification Status Comment
    Web Audio API
    The definition of 'AudioDestinationNode' in that specification.
    Working Draft  

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support (Yes)webkit Activated on Nightly only (24) Not supported Not supported ?
    Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
    Basic support Not supported Activated on Nightly only Not supported Not supported ?

    See also

    • Using Web Audio

    Document Tags and Contributors

    Contributors to this page: kscarfone, pchng, chrisdavidmills, teoli
    Last updated by: chrisdavidmills,