Closed Bug 1853630 Opened 1 year ago Closed 1 year ago

use last value of previous event for start of setTargetAtTime() curves

Categories

(Core :: Web Audio, defect)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: karlt, Assigned: karlt)

Details

Attachments

(1 file)

From bug 1213313 comment 16:

The start of the curve should actually be obtained from the zeroth tick in the setTarget curve, but the patch here starts the curve one tick prior, as was done before [...]

Previously this was happening only after CleanupEventsOlderThan() had been
called between blocks.

t == t0 means the exponential is 1 and the curve uses the value from the curve
of the previous event.
When the time constant is zero and t == t0, the exponential argument is
undefined, but v0 at t0 is the limit as the time constant approaches zero.

Depends on D188436

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/054d3b1a7f96 use last value of previous event for start of SetTargetAtTime() curves r=padenot
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42058 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Summary: use last value of previous event for start of SetTargetAtTime() curves → use last value of previous event for start of setTargetAtTime() curves
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: