@@ -9890,13 +9890,13 @@ Methods</h5>
9890
9890
9891
9891
1. Let <var> paramNames</var> be an empty Array.
9892
9892
9893
- 1. For each <var> descriptor</var> of
9893
+ 1. <div id="steps-parameterDescriptorSequence"></div>
9894
+ For each <var> descriptor</var> of
9894
9895
<var> parameterDescriptorSequence</var> :
9895
-
9896
9896
1. Let <var> paramName</var> be the value of
9897
9897
the member {{AudioParamDescriptor/name}}
9898
- in <var> descriptor</var> . Throw
9899
- a {{NotSupportedError}} if
9898
+ in <var> descriptor</var> . <span class="synchronous"> Throw
9899
+ a {{NotSupportedError}} </span> if
9900
9900
<var> paramNames</var> already
9901
9901
contains <var> paramName</var> value.
9902
9902
@@ -9918,11 +9918,12 @@ Methods</h5>
9918
9918
{{AudioParamDescriptor/maxValue}}
9919
9919
in <var> descriptor</var> .
9920
9920
9921
- 1. If <var> defaultValue</var> is less than
9922
- <var> minValue</var> or greater than
9923
- <var> maxValue</var> ,
9924
- <span class="synchronous"> throw a
9925
- {{InvalidStateError}} </span> .
9921
+ 1. If the expresstion
9922
+ <var> minValue</var> <=
9923
+ <var> defaultValue</var> <=
9924
+ <var> maxValue</var> is false,
9925
+ <span class="synchronous"> throw
9926
+ an {{InvalidStateError}} </span> .
9926
9927
9927
9928
1. Append the key-value pair <var> name</var> →
9928
9929
<var> processorCtor</var> to
@@ -10575,40 +10576,29 @@ dictionary AudioParamDescriptor {
10575
10576
<h6 id="dictionary-audioparamdescriptor-members">
10576
10577
Dictionary {{AudioParamDescriptor}} Members</h6>
10577
10578
10579
+ There are constraints on the values for these members. See the <a
10580
+ href="#steps-parameterDescriptorSequence"> algorithm for handling an
10581
+ AudioParamDescriptor</a> for the constraints.
10582
+
10578
10583
<dl dfn-type=dict-member dfn-for="AudioParamDescriptor">
10579
10584
: <dfn>automationRate</dfn>
10580
10585
::
10581
10586
Represents the default automation rate.
10582
-
10583
10587
: <dfn>defaultValue</dfn>
10584
10588
::
10585
- Represents the default value of the parameter. <span class="synchronous"> If this value
10586
- is out of the range of float data type or the range defined
10587
- by {{AudioParamDescriptor/minValue}} and {{AudioParamDescriptor/maxValue}} , a
10588
- {{NotSupportedError}} exception MUST be thrown.</span>
10589
+ Represents the default value of the parameter.
10589
10590
10590
10591
: <dfn>maxValue</dfn>
10591
10592
::
10592
- Represents the maximum value. <span class="synchronous"> A
10593
- {{NotSupportedError}} exception MUST be thrown if
10594
- this value is out of range of float data type or it is
10595
- smaller than <code> minValue</code> .</span> This value is the most
10596
- positive finite single precision floating-point number.
10593
+ Represents the maximum value.
10597
10594
10598
10595
: <dfn>minValue</dfn>
10599
10596
::
10600
- Represents the minimum value. <span class="synchronous"> A
10601
- {{NotSupportedError}} exception MUST be thrown if
10602
- this value is out of range of float data type or it is
10603
- greater than <code> maxValue</code> .</span> This value is the most
10604
- negative finite single precision floating-point number.
10597
+ Represents the minimum value.
10605
10598
10606
10599
: <dfn>name</dfn>
10607
10600
::
10608
- Represents the name of the parameter. <span class="synchronous"> A
10609
- {{NotSupportedError}} exception MUST be thrown when
10610
- a duplicated name is found when registering the class
10611
- definition.</span>
10601
+ Represents the name of the parameter.
10612
10602
</dl>
10613
10603
10614
10604
<h4 id="AudioWorklet-Sequence">
0 commit comments