W3cubDocs

/Haxe JavaScript

AudioContextOptions

package js.html.audio

Available on js

The AudioContextOptions dictionary is used to specify configuration options when constructing a new AudioContext object to represent a graph of web audio nodes.

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

See also:

Fields

optionalsampleRate:Null<Float>

The BaseAudioContext.sampleRate to be used by the AudioContext, specified in samples per second. The value may be any value supported by AudioBuffer. If not specified, the preferred sample rate for the context's output device is used by default.

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