@@ -711,7 +711,7 @@ Additionally, a {{BaseAudioContext}} has several private slots <dfn attribute
711
711
for="BaseAudioContext">[[rendering thread state]]</dfn> and <dfn attribute
712
712
for="BaseAudioContext">[[control thread state]]</dfn> that take values
713
713
from {{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 ]]
715
715
</dfn> that also take values from {{AudioContextState}} and is initially set to
716
716
`null` and a private slot <dfn attribute for="BaseAudioContext">[[render quantum
717
717
size]]</dfn> that is an unsigned integer.
@@ -1552,7 +1552,7 @@ Constructors</h4>
1552
1552
1. Set a {{[[rendering thread state]]}} to <code>suspended</code> on
1553
1553
|context|.
1554
1554
1555
- 1. Set {{[[interrupt end return state ]]}} to `null` on |context|.
1555
+ 1. Set {{[[state before interruption ]]}} to `null` on |context|.
1556
1556
1557
1557
1. Let |messageChannel| be a new {{MessageChannel}}.
1558
1558
@@ -1995,7 +1995,7 @@ Methods</h4>
1995
1995
1. Set the {{BaseAudioContext/state}} attribute of the
1996
1996
{{AudioContext}} to "{{AudioContextState/interrupted}}".
1997
1997
1998
- 1. Set the {{[[interrupt end return state ]]}} slot to
1998
+ 1. Set the {{[[state before interruption ]]}} slot to
1999
1999
"{{AudioContextState/running}}".
2000
2000
2001
2001
1. [=Queue a media element task=] to [=fire an event=] named
@@ -2115,7 +2115,7 @@ Methods</h4>
2115
2115
2116
2116
1. If the {{[[rendering thread state]]}} on the {{AudioContext}} is
2117
2117
"{{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
2119
2119
"{{AudioContextState/suspended}}".
2120
2120
2121
2121
1. Set the {{[[rendering thread state]]}} on the {{AudioContext}} to
@@ -12027,7 +12027,7 @@ means running these steps on the <a>rendering thread</a>:
12027
12027
1. Set the |context|'s {{[[control thread state]]}} to
12028
12028
{{AudioContextState/interrupted}}.
12029
12029
12030
- 1. Set the |context|'s {{[[interrupt end return state ]]}} slot to
12030
+ 1. Set the |context|'s {{[[state before interruption ]]}} slot to
12031
12031
"{{AudioContextState/running}}".
12032
12032
12033
12033
1. [=Fire an event=] named {{BaseAudioContext/statechange}} at the
@@ -12041,7 +12041,7 @@ means running these steps on the <a>rendering thread</a>:
12041
12041
1. Set the |context|'s {{[[control thread state]]}} to
12042
12042
{{AudioContextState/interrupted}}.
12043
12043
12044
- 1. Set the |context|'s {{[[interrupt end return state ]]}} slot to
12044
+ 1. Set the |context|'s {{[[state before interruption ]]}} slot to
12045
12045
"{{AudioContextState/suspended}}".
12046
12046
12047
12047
1. Set the |context|'s {{[[rendering thread state]]}} to
@@ -12062,7 +12062,7 @@ Running a <a>control message</a> to end an {{AudioContext}} |context|
12062
12062
1. If the |context|'s {{[[rendering thread state]]}} is not
12063
12063
{{AudioContextState/interrupted}}, abort these steps.
12064
12064
12065
- 1. If the |context|'s {{[[interrupt end return state ]]}} is
12065
+ 1. If the |context|'s {{[[state before interruption ]]}} is
12066
12066
"{{AudioContextState/running}}":
12067
12067
12068
12068
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|
12083
12083
1. [=Fire an event=] named {{BaseAudioContext/statechange}} at the
12084
12084
|context|.
12085
12085
12086
- 1. If the |context|'s {{[[interrupt end return state ]]}} is
12086
+ 1. If the |context|'s {{[[state before interruption ]]}} is
12087
12087
"{{AudioContextState/suspended}}"
12088
12088
12089
12089
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|
12094
12094
1. Set the |context|'s {{[[control thread state]]}} to
12095
12095
<code>suspended</code>.
12096
12096
12097
- 1. Set the |context|'s {{[[interrupt end return state ]]}} to `null`.
12097
+ 1. Set the |context|'s {{[[state before interruption ]]}} to `null`.
12098
12098
12099
12099
<h3 id="error-handling-on-a-running-audio-context">
12100
12100
Handling an error from System Audio Resources on the {{AudioContext}}</h3>
0 commit comments