Closed Bug 1571534 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 18282 - Update current_frame

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18282 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18282
Details from upstream follow.

Raymond Toy <rtoy@chromium.org> wrote:

Update current_frame

When a setTargetAtTime event has converged (10 time constants), we
basically hold the value. However, if there's a setValue event after
convergence, and this setValue is within the current render quantum,
the current_frame was not getting updated, so when this event and the
next are getting processed, the currentTime has the incorrect value.

Update current_frame appropriately in this case.

Bug: 990393
Test: the-audioparam-interface/set-target-conv.html
Change-Id: I4b364d3972e1f5acb454916fdb6455fb75b7e7b6
Reviewed-on: https://chromium-review.googlesource.com/1736173
WPT-Export-Revision: 75d085e86b6712aaf48b853bdd277a8720149fde

Component: web-platform-tests → Web Audio
Product: Testing → Core
Ran 1 tests and 9 subtests OK : 1 PASS : 9
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/61f8e5a6d31d [wpt PR 18282] - Update current_frame, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.