AudioNodeOptions
dictionary of the
Web 音频 API
specifies options that can be used when creating new
AudioNode
对象。
AudioNodeOptions
is inherited from by the option objects of the different types of audio node constructors. See for example
AnalyserNode.AnalyserNode
or
GainNode.GainNode
.
var audioNodeOptions = {
"channelCount" : 2,
"channelCountMode" : "max",
"channelInterpretation" : "discrete"
}
channelCount
可选
AudioNode.channelCount
for more information.) Its usage and precise definition depend on the value of
AudioNodeOptions.channelCountMode
.
channelCountMode
可选
AudioNode.channelCountMode
for more information including default values.)
channelInterpretation
可选
"speakers"
or
"discrete"
。(见
AudioNode.channelCountMode
for more information including default values.)
| 规范 | 状态 | 注释 |
|---|---|---|
|
Web 音频 API
The definition of 'AudioNodeOptions' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
AudioNodeOptions
|
Chrome 55 | Edge ≤79 | Firefox 53 | IE ? | Opera 42 | Safari ? | WebView Android 55 | Chrome Android 55 | Firefox Android 53 | Opera Android 42 | Safari iOS ? | Samsung Internet Android 6.0 |
完整支持
兼容性未知