blob: 19b242ef5d9399858d40adb3a971ed0640f8968c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
---
title: OfflineAudoContext.length
slug: Web/API/OfflineAudioContext/length
translation_of: Web/API/OfflineAudioContext/length
---
<p>{{SeeCompatTable}}{{ APIRef("Web Audio API") }}</p>
<p>{{domxref("OfflineAudioContext")}} 接口的 <strong><code>length</code></strong> 属性返回一个代表采样帧的缓冲区大小的整数。</p>
<h2 id="语法">语法</h2>
<pre class="syntaxbox">var length = OfflineAudioContext.length;</pre>
<h3 id="值">值</h3>
<p>一个代表采样帧的缓冲区大小的整数。</p>
<h2 id="标准">标准</h2>
<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('Web Audio API','#widl-OfflineAudioContext-length','length')}}</td>
<td>{{Spec2('Web Audio API')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
{{Compat("api.OfflineAudioContext.length")}}
|