Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2708,12 +2708,6 @@ Methods</h4>
</ol>
</ol>

<li>Let <var>bufferLength</var> be a number initialized to the
result of
<a lt="calculate the buffer length for offline rendering">
calculating the buffer length for offline rendering</a> given
the requested <code>chunkSize</code>.

<li> If <var>bufferLength</var> is not a multiple of
<a>render quantum size</a>, round it up to the next multiple of
the <a>render quantum size</a>.
Expand Down Expand Up @@ -2744,31 +2738,6 @@ Methods</h4>
</ol>
</div>

<div algorithm="calculate buffer length for offline rendering">
To <dfn dfn for>calculate the buffer length for offline rendering
</dfn> given a requested <var>chunkSize</var>, the following steps
MUST be performed on the <a>control thread</a>:
<ol>
<li> If the {{OfflineAudioContext}}'s
{{OfflineAudioContext/length}} is <code>null</code>:
<ol>
<li> If <var>chunkSize</var> is <code>null</code>, return
the <a>render quantum size</a>.
<li> Otherwise, return <var>chunkSize</var>.
</ol>
<li> Otherwise, if the {{OfflineAudioContext}}'s
{{OfflineAudioContext/length}} is not <code>null</code>:
<ol>
<li> If <var>chunkSize</var> is not <code>null</code> and
{{[[committed frames]]}} + <var>chunkSize</var> is less than
the {{OfflineAudioContext}}'s
{{OfflineAudioContext/length}}, return <var>chunkSize</var>.
<li> Otherwise, return
{{OfflineAudioContext/length}} - {{[[committed frames]]}}.
</ol>
</ol>
</div>

<div algorithm="begin offline rendering">
To <dfn dfn for>begin offline rendering</dfn> for an {{AudioBuffer}}
<var>buffer</var>, the following steps MUST happen on a <a>rendering
Expand Down
Loading