W3cubDocs

/Haxe JavaScript

MediaElementAudioSourceNode

package js.html.audio

extends AudioNodeEventTarget

Available on js

A MediaElementSourceNode has no inputs and exactly one output, and is created using the AudioContext.createMediaElementSource method. The amount of channels in the output equals the number of channels of the audio referenced by the HTMLMediaElement used in the creation of the node, or is 1 if the HTMLMediaElement has no audio.

Documentation MediaElementAudioSourceNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(context:AudioContext, options:MediaElementAudioSourceOptions)

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/MediaElementAudioSourceNode.html