Skip to content

Commit

Permalink
Update the spec to refer to the new activation mechanism in HTML
Browse files Browse the repository at this point in the history
This is intentionaly vague to not restrict implementors: it's plausible
that an implementation chooses to be transient or sticky here.

This fixes WebAudio#2107.
  • Loading branch information
padenot committed Dec 9, 2019
1 parent e4f8da2 commit 9fe4a74
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1324,9 +1324,10 @@ interface AudioContext : BaseAudioContext {
</xmp>

An {{AudioContext}} is said to be <dfn>allowed to start</dfn> if the user agent
allows the context state to transition from "{{AudioContextState/suspended}}" to "{{AudioContextState/running}}". A user
agent may require the actual audio production from an {{AudioContext}} to be
<a>triggered by user activation</a> (as described in [[HTML]]).
allows the context state to transition from "{{AudioContextState/suspended}}" to
"{{AudioContextState/running}}". A user agent may delay this initial transition,
to allow it only when the {{AudioContext}}'s [=relevant global object=] has been
<a href="https://html.spec.whatwg.org/#tracking-user-activation">activated</a>.

{{AudioContext}} has an internal slot:

Expand Down

0 comments on commit 9fe4a74

Please sign in to comment.