W3cubDocs

/DOM

MediaStreamAudioDestinationNode.constructor

The MediaStreamAudioDestinationNode() constructor creates a new MediaStreamAudioDestinationNode object instance.

Syntax

var myAudioDest = new MediaStreamAudioDestinationNode(context, options);

Parameters

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.

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
No support No support

(Yes)

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

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode