MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode()

The MediaStreamAudioDestinationNode() constructor of the Web Audio API creates a new MediaStreamAudioDestinationNode object instance.

Syntax

var myAudioDest = new MediaStreamAudioDestinationNode(context, options);

Parameters

Inherits parameters from the AudioNodeOptions dictionary.

context
An AudioContext representing the audio context you want the node to be associated with.
options Optional
An AudioNodeOptions dictionary object defining the properties you want the MediaStreamAudioDestinationNode to have.

Return value

A new MediaStreamAudioDestinationNode object instance.

Example

var ac = new AudioContext();

var myDestination = new MediaStreamAudioDestinationNode(ac);

Specifications

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

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support No support
 
53 (53) No support

(Yes)

No support
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile Chrome for Android
Basic support No support 53.0 (53) No support No support No support No support

Document Tags and Contributors

 Contributors to this page: chrisdavidmills
 Last updated by: chrisdavidmills,