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/c/chromium/src/+/1736173
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684137}
2 files changed