@@ -9883,13 +9883,13 @@ Methods</h5>
9883
9883
9884
9884
1. Let <var> paramNames</var> be an empty Array.
9885
9885
9886
- 1. For each <var> descriptor</var> of
9886
+ 1. <div id="steps-parameterDescriptorSequence"></div>
9887
+ For each <var> descriptor</var> of
9887
9888
<var> parameterDescriptorSequence</var> :
9888
-
9889
9889
1. Let <var> paramName</var> be the value of
9890
9890
the member {{AudioParamDescriptor/name}}
9891
- in <var> descriptor</var> . Throw
9892
- a {{NotSupportedError}} if
9891
+ in <var> descriptor</var> . <span class="synchronous"> Throw
9892
+ a {{NotSupportedError}} </span> if
9893
9893
<var> paramNames</var> already
9894
9894
contains <var> paramName</var> value.
9895
9895
@@ -9911,10 +9911,15 @@ Methods</h5>
9911
9911
{{AudioParamDescriptor/maxValue}}
9912
9912
in <var> descriptor</var> .
9913
9913
9914
+ 1. If <var> minValue</var> is
9915
+ greater than or equal <var> maxValue</var> ,
9916
+ <span class="synchronous"> throw an
9917
+ {{InvalidStateError}} </span> .
9918
+
9914
9919
1. If <var> defaultValue</var> is less than
9915
9920
<var> minValue</var> or greater than
9916
9921
<var> maxValue</var> ,
9917
- <span class="synchronous"> throw a
9922
+ <span class="synchronous"> throw an
9918
9923
{{InvalidStateError}} </span> .
9919
9924
9920
9925
1. Append the key-value pair <var> name</var> →
@@ -10568,40 +10573,29 @@ dictionary AudioParamDescriptor {
10568
10573
<h6 id="dictionary-audioparamdescriptor-members">
10569
10574
Dictionary {{AudioParamDescriptor}} Members</h6>
10570
10575
10576
+ There are constraints on the values for these members. See the <a
10577
+ href="#steps-parameterDescriptorSequence"> algorithm for handling an
10578
+ AudioParamDescriptor</a> for the constraints.
10579
+
10571
10580
<dl dfn-type=dict-member dfn-for="AudioParamDescriptor">
10572
10581
: <dfn>automationRate</dfn>
10573
10582
::
10574
10583
Represents the default automation rate.
10575
-
10576
10584
: <dfn>defaultValue</dfn>
10577
10585
::
10578
- Represents the default value of the parameter. <span class="synchronous"> If this value
10579
- is out of the range of float data type or the range defined
10580
- by {{AudioParamDescriptor/minValue}} and {{AudioParamDescriptor/maxValue}} , a
10581
- {{NotSupportedError}} exception MUST be thrown.</span>
10586
+ Represents the default value of the parameter.
10582
10587
10583
10588
: <dfn>maxValue</dfn>
10584
10589
::
10585
- Represents the maximum value. <span class="synchronous"> A
10586
- {{NotSupportedError}} exception MUST be thrown if
10587
- this value is out of range of float data type or it is
10588
- smaller than <code> minValue</code> .</span> This value is the most
10589
- positive finite single precision floating-point number.
10590
+ Represents the maximum value.
10590
10591
10591
10592
: <dfn>minValue</dfn>
10592
10593
::
10593
- Represents the minimum value. <span class="synchronous"> A
10594
- {{NotSupportedError}} exception MUST be thrown if
10595
- this value is out of range of float data type or it is
10596
- greater than <code> maxValue</code> .</span> This value is the most
10597
- negative finite single precision floating-point number.
10594
+ Represents the minimum value.
10598
10595
10599
10596
: <dfn>name</dfn>
10600
10597
::
10601
- Represents the name of the parameter. <span class="synchronous"> A
10602
- {{NotSupportedError}} exception MUST be thrown when
10603
- a duplicated name is found when registering the class
10604
- definition.</span>
10598
+ Represents the name of the parameter.
10605
10599
</dl>
10606
10600
10607
10601
<h4 id="AudioWorklet-Sequence">
0 commit comments