Skip to content

Commit 4093e9b

Browse files
gabrielsanbritohoch
authored andcommitted
Add links to interruption definitions
1 parent 17b531f commit 4093e9b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

index.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11993,10 +11993,11 @@ to halt audio playback for an {{AudioContext}}. For example, The user agent may
1199311993
create an interruption when another application requests exclusive access to the
1199411994
audio output hardware.
1199511995

11996-
When an [=interruption=] happens, the user agent must <a>Queue a control message</a>
11996+
When an [=interruption=] happens, the user agent must <a>queue a control message</a>
1199711997
to interrupt the {{AudioContext}}.
1199811998

11999-
Running a <a>control message</a> to interrupt an {{AudioContext}} |context|
11999+
Running a <a>control message</a> to <dfn attribute for="AudioContext"
12000+
lt="interruption-start">interrupt an {{AudioContext}}</dfn> |context|
1200012001
means running these steps on the <a>rendering thread</a>:
1200112002

1200212003
1. If the |context|'s {{[[rendering thread state]]}} is <code>closed</code>
@@ -12033,8 +12034,11 @@ Note: If the {{AudioContext}} is <code>suspended</code> a
1203312034
over-sharing user activity - e.g. when a phone call comes in or when the screen
1203412035
gets locked.
1203512036

12036-
When an [=interruption=] ends, the user agent must <a>Queue a control message</a>
12037-
to end the {{AudioContext}} interruption.
12037+
When an [=interruption=] ends, the user agent must <a>queue a control message</a>
12038+
to <dfn attribute for="AudioContext" lt="interruption-end">end the
12039+
{{AudioContext}} interruption</dfn>.
12040+
12041+
<dfn lt="linear PCM">Linear pulse code modulation</dfn>
1203812042

1203912043
Running a <a>control message</a> to end an {{AudioContext}} |context|
1204012044
[=interruption=] means running these steps on the <a>rendering thread</a>:

0 commit comments

Comments
 (0)