From 3b3f1ca2727abc496fefae94b39a12294c71859e Mon Sep 17 00:00:00 2001 From: MDN Date: Tue, 14 Sep 2021 00:52:15 +0000 Subject: [CRON] sync translated content --- files/zh-cn/_redirects.txt | 1 + files/zh-cn/_wikihistory.json | 12 +-- .../zh-cn/conflicting/web/api/audionode/index.html | 102 +++++++++++++++++++++ files/zh-cn/web/api/audionodeoptions/index.html | 101 -------------------- 4 files changed, 109 insertions(+), 107 deletions(-) create mode 100644 files/zh-cn/conflicting/web/api/audionode/index.html delete mode 100644 files/zh-cn/web/api/audionodeoptions/index.html (limited to 'files') diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 35d2de28cb..53cc404b6a 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -1232,6 +1232,7 @@ /zh-CN/docs/Web/API/AudioContext/onstatechange /zh-CN/docs/Web/API/BaseAudioContext/onstatechange /zh-CN/docs/Web/API/AudioContext/sampleRate /zh-CN/docs/Web/API/BaseAudioContext/sampleRate /zh-CN/docs/Web/API/AudioContext/state /zh-CN/docs/Web/API/BaseAudioContext/state +/zh-CN/docs/Web/API/AudioNodeOptions /zh-CN/docs/conflicting/Web/API/AudioNode /zh-CN/docs/Web/API/Blob.size /zh-CN/docs/Web/API/Blob/size /zh-CN/docs/Web/API/Blob.slice /zh-CN/docs/Web/API/Blob/slice /zh-CN/docs/Web/API/Blob.type /zh-CN/docs/Web/API/Blob/type diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index 1d166827cc..540fe29b2a 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -7831,12 +7831,6 @@ "MisicDemone" ] }, - "Web/API/AudioNodeOptions": { - "modified": "2019-03-18T21:39:54.122Z", - "contributors": [ - "WhiteMind" - ] - }, "Web/API/AudioParam": { "modified": "2019-03-23T22:14:20.528Z", "contributors": [ @@ -46966,6 +46960,12 @@ "hl7514576" ] }, + "conflicting/Web/API/AudioNode": { + "modified": "2019-03-18T21:39:54.122Z", + "contributors": [ + "WhiteMind" + ] + }, "conflicting/Web/API/Beacon_API": { "modified": "2020-04-23T03:45:20.732Z", "contributors": [ diff --git a/files/zh-cn/conflicting/web/api/audionode/index.html b/files/zh-cn/conflicting/web/api/audionode/index.html new file mode 100644 index 0000000000..fb6b1b2b4d --- /dev/null +++ b/files/zh-cn/conflicting/web/api/audionode/index.html @@ -0,0 +1,102 @@ +--- +title: AudioNodeOptions +slug: conflicting/Web/API/AudioNode +translation_of: Web/API/AudioNodeOptions +original_slug: Web/API/AudioNodeOptions +--- +

{{APIRef("'Web Audio API'")}}

+ +

Web Audio API 的 AudioNodeOptions 字典指定了创建新 {{domxref("AudioNode")}} 对象时可使用的选项.

+ +

AudioNodeOptions 继承自不同类型的音频节点构造函数的选项对象. 例如 {{domxref("AnalyserNode.AnalyserNode")}} 或 {{domxref("GainNode.GainNode")}}.

+ +

语法

+ +
var audioNodeOptions = {
+  "channelCount" : 2,
+  "channelCountMode" : "max",
+  "channelInterpretation" : "discrete"
+}
+ +

参数

+ +
+
channelCount {{optional_inline}}
+
Represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node. (See {{domxref("AudioNode.channelCount")}} for more information.) Its usage and precise definition depend on the value of {{domxref("AudioNodeOptions.channelCountMode")}}.
+
channelCountMode {{optional_inline}}
+
Represents an enumerated value describing the way channels must be matched between the node's inputs and outputs. (See {{domxref("AudioNode.channelCountMode")}} for more information including default values.)
+
channelInterpretation {{optional_inline}}
+
Represents an enumerated value describing the meaning of the channels. This interpretation will define how audio up-mixing and down-mixing will happen.
+ The possible values are "speakers" or "discrete". (See {{domxref("AudioNode.channelCountMode")}} for more information including default values.)
+
+ +

规范

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Web Audio API','#audionodeoptions','AudioNodeOptions')}}{{Spec2('Web Audio API')}}Initial definition.
+ +

浏览器兼容性

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(55.0)}}{{CompatGeckoDesktop(53)}}{{CompatUnknown}}{{CompatOpera(42)}}{{CompatUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
Basic support{{CompatNo}}{{CompatChrome(55.0)}}{{CompatGeckoMobile(53)}}{{CompatUnknown}}{{CompatOperaMobile(42)}}{{CompatUnknown}}{{CompatChrome(55.0)}}
+
diff --git a/files/zh-cn/web/api/audionodeoptions/index.html b/files/zh-cn/web/api/audionodeoptions/index.html deleted file mode 100644 index 5587111d47..0000000000 --- a/files/zh-cn/web/api/audionodeoptions/index.html +++ /dev/null @@ -1,101 +0,0 @@ ---- -title: AudioNodeOptions -slug: Web/API/AudioNodeOptions -translation_of: Web/API/AudioNodeOptions ---- -

{{APIRef("'Web Audio API'")}}

- -

Web Audio API 的 AudioNodeOptions 字典指定了创建新 {{domxref("AudioNode")}} 对象时可使用的选项.

- -

AudioNodeOptions 继承自不同类型的音频节点构造函数的选项对象. 例如 {{domxref("AnalyserNode.AnalyserNode")}} 或 {{domxref("GainNode.GainNode")}}.

- -

语法

- -
var audioNodeOptions = {
-  "channelCount" : 2,
-  "channelCountMode" : "max",
-  "channelInterpretation" : "discrete"
-}
- -

参数

- -
-
channelCount {{optional_inline}}
-
Represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node. (See {{domxref("AudioNode.channelCount")}} for more information.) Its usage and precise definition depend on the value of {{domxref("AudioNodeOptions.channelCountMode")}}.
-
channelCountMode {{optional_inline}}
-
Represents an enumerated value describing the way channels must be matched between the node's inputs and outputs. (See {{domxref("AudioNode.channelCountMode")}} for more information including default values.)
-
channelInterpretation {{optional_inline}}
-
Represents an enumerated value describing the meaning of the channels. This interpretation will define how audio up-mixing and down-mixing will happen.
- The possible values are "speakers" or "discrete". (See {{domxref("AudioNode.channelCountMode")}} for more information including default values.)
-
- -

规范

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Web Audio API','#audionodeoptions','AudioNodeOptions')}}{{Spec2('Web Audio API')}}Initial definition.
- -

浏览器兼容性

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(55.0)}}{{CompatGeckoDesktop(53)}}{{CompatUnknown}}{{CompatOpera(42)}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
Basic support{{CompatNo}}{{CompatChrome(55.0)}}{{CompatGeckoMobile(53)}}{{CompatUnknown}}{{CompatOperaMobile(42)}}{{CompatUnknown}}{{CompatChrome(55.0)}}
-
-- cgit v1.2.3-54-g00ecf