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
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1237,14 +1237,14 @@ Methods</h4>

2. Let <var>promise</var> be a new Promise.

3. If {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}}
is [=BufferSource/detached=], execute the following steps:
3. If {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}}
is not [=BufferSource/detached=], execute the following steps:

1. Append <var>promise</var> to {{BaseAudioContext/[[pending promises]]}}.

2. [=ArrayBuffer/Detach=]
the {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}} {{ArrayBuffer}}.
If this operations throws, jump to the step 3.
If this operation throws, jump to step 4.1.

3. Queue a decoding operation to be performed on another thread.

Expand Down