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
12 changes: 8 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1677,11 +1677,13 @@ Constructors</h4>
named {{AudioContext/error}} at the {{AudioContext}},
and abort the following steps.

1. Attempt to [=acquire system resources=] to use a following audio output device
1. Attempt to [=acquire system resources=] to use the following output target
based on {{AudioContext/[[sink ID at construction]]}} for rendering:

* The default audio output device for the empty string.
* An audio output device identified by {{AudioContext/[[sink ID at construction]]}}.
* No audio output device for an {{AudioSinkInfo}} whose
{{AudioSinkInfo/type}} is "{{AudioSinkType/none}}".

1. If resource acquisition fails, [=queue a media element
task=] to [=fire an event=] named
Expand Down Expand Up @@ -2275,13 +2277,15 @@ Methods</h4>
associated {{AudioContext}}.

1. Attempt to <a href="#acquiring">acquire system resources</a> to use
a following audio output device based on {{AudioContext/[[sink ID]]}}
the following output target based on |sinkId|
for rendering:

* The default audio output device for the empty string.
* A audio output device identified by {{AudioContext/[[sink ID]]}}.
* An audio output device identified by |sinkId|.
* No audio output device for an {{AudioSinkOptions}} whose
{{AudioSinkOptions/type}} is "{{AudioSinkType/none}}".

In case of failure, reject |p| with "{{InvalidAccessError}}" abort
In case of failure, reject |p| with "{{InvalidAccessError}}" and abort
the following steps.

1. <a href="https://html.spec.whatwg.org/multipage/media.html#queue-a-media-element-task">
Expand Down
Loading