Skip to content

Fix #1171: setValueCurveAtTime curve is sequence<float> #1189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3836,7 +3836,7 @@ <h2 id="AudioParam">
</p>
</dd>
<dt>
AudioParam setValueCurveAtTime(Float32Array values, double
AudioParam setValueCurveAtTime(sequence&lt;float&gt; values, double
startTime, double duration)
</dt>
<dd>
Expand All @@ -3847,21 +3847,23 @@ <h2 id="AudioParam">
</p>
<dl class="parameters">
<dt>
Float32Array values
sequence&lt;float&gt; values
</dt>
<dd>
<p>
A Float32Array representing a parameter value curve. These
values will apply starting at the given time and lasting for
the given duration. When this method is called, an internal
copy of the curve is created for automation purposes.
Subsequent modifications of the contents of the passed-in
array therefore have no effect on the <a>AudioParam</a>.
A sequence of float values representing a parameter value
curve. These values will apply starting at the given time and
lasting for the given duration. When this method is called,
an internal copy of the curve is created for automation
purposes. Subsequent modifications of the contents of the
passed-in array therefore have no effect on the
<a>AudioParam</a>.
</p>
<p>
An <code>InvalidStateError</code> MUST be thrown if this
attribute is with a Float32Array that has a length less than
2.
<span class="synchronous">An <code>InvalidStateError</code>
MUST be thrown if this attribute is a
<code>sequence&lt;float&gt;</code> object that has a length
less than 2.</span>
</p>
</dd>
<dt>
Expand Down