@@ -711,7 +711,7 @@ Additionally, a {{BaseAudioContext}} has several private slots <dfn attribute
711711for="BaseAudioContext">[[rendering thread state]]</dfn> and <dfn attribute
712712for="BaseAudioContext">[[control thread state]]</dfn> that take values
713713from {{AudioContextState}}, and that are both initially set to <code>"suspended"
714- </code>, <dfn attribute for="BaseAudioContext">[[interrupt end return state ]]
714+ </code>, <dfn attribute for="BaseAudioContext">[[state before interruption ]]
715715</dfn> that also take values from {{AudioContextState}} and is initially set to
716716`null` and a private slot <dfn attribute for="BaseAudioContext">[[render quantum
717717size]]</dfn> that is an unsigned integer.
@@ -1552,7 +1552,7 @@ Constructors</h4>
15521552 1. Set a {{[[rendering thread state]]}} to <code>suspended</code> on
15531553 |context|.
15541554
1555- 1. Set {{[[interrupt end return state ]]}} to `null` on |context|.
1555+ 1. Set {{[[state before interruption ]]}} to `null` on |context|.
15561556
15571557 1. Let |messageChannel| be a new {{MessageChannel}}.
15581558
@@ -1995,7 +1995,7 @@ Methods</h4>
19951995 1. Set the {{BaseAudioContext/state}} attribute of the
19961996 {{AudioContext}} to "{{AudioContextState/interrupted}}".
19971997
1998- 1. Set the {{[[interrupt end return state ]]}} slot to
1998+ 1. Set the {{[[state before interruption ]]}} slot to
19991999 "{{AudioContextState/running}}".
20002000
20012001 1. [=Queue a media element task=] to [=fire an event=] named
@@ -2115,7 +2115,7 @@ Methods</h4>
21152115
21162116 1. If the {{[[rendering thread state]]}} on the {{AudioContext}} is
21172117 "{{AudioContextState/interrupted}}", <a>queue a media element
2118- task</a> to set the {{[[interrupt end return state ]]}} slot to
2118+ task</a> to set the {{[[state before interruption ]]}} slot to
21192119 "{{AudioContextState/suspended}}".
21202120
21212121 1. Set the {{[[rendering thread state]]}} on the {{AudioContext}} to
@@ -12027,7 +12027,7 @@ means running these steps on the <a>rendering thread</a>:
1202712027 1. Set the |context|'s {{[[control thread state]]}} to
1202812028 {{AudioContextState/interrupted}}.
1202912029
12030- 1. Set the |context|'s {{[[interrupt end return state ]]}} slot to
12030+ 1. Set the |context|'s {{[[state before interruption ]]}} slot to
1203112031 "{{AudioContextState/running}}".
1203212032
1203312033 1. [=Fire an event=] named {{BaseAudioContext/statechange}} at the
@@ -12041,7 +12041,7 @@ means running these steps on the <a>rendering thread</a>:
1204112041 1. Set the |context|'s {{[[control thread state]]}} to
1204212042 {{AudioContextState/interrupted}}.
1204312043
12044- 1. Set the |context|'s {{[[interrupt end return state ]]}} slot to
12044+ 1. Set the |context|'s {{[[state before interruption ]]}} slot to
1204512045 "{{AudioContextState/suspended}}".
1204612046
12047120471. Set the |context|'s {{[[rendering thread state]]}} to
@@ -12062,7 +12062,7 @@ Running a <a>control message</a> to end an {{AudioContext}} |context|
12062120621. If the |context|'s {{[[rendering thread state]]}} is not
1206312063 {{AudioContextState/interrupted}}, abort these steps.
1206412064
12065- 1. If the |context|'s {{[[interrupt end return state ]]}} is
12065+ 1. If the |context|'s {{[[state before interruption ]]}} is
1206612066 "{{AudioContextState/running}}":
1206712067
1206812068 1. Attempt to <a href="#acquiring">acquire system resources</a>.
@@ -12083,7 +12083,7 @@ Running a <a>control message</a> to end an {{AudioContext}} |context|
1208312083 1. [=Fire an event=] named {{BaseAudioContext/statechange}} at the
1208412084 |context|.
1208512085
12086- 1. If the |context|'s {{[[interrupt end return state ]]}} is
12086+ 1. If the |context|'s {{[[state before interruption ]]}} is
1208712087 "{{AudioContextState/suspended}}"
1208812088
1208912089 1. Set the {{[[rendering thread state]]}} on the {{AudioContext}} to
@@ -12094,7 +12094,7 @@ Running a <a>control message</a> to end an {{AudioContext}} |context|
1209412094 1. Set the |context|'s {{[[control thread state]]}} to
1209512095 <code>suspended</code>.
1209612096
12097- 1. Set the |context|'s {{[[interrupt end return state ]]}} to `null`.
12097+ 1. Set the |context|'s {{[[state before interruption ]]}} to `null`.
1209812098
1209912099<h3 id="error-handling-on-a-running-audio-context">
1210012100 Handling an error from System Audio Resources on the {{AudioContext}}</h3>
0 commit comments