Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebAudio]Re-Enable test of processing-after-resume test
The test often failed with different currentTime on audioContext and worklet. It is due to currentTime is captured for the worklet is made during its startup where it is always 0, meanwhile audioContext's is captured after its startup with running state. This fix consists in executing the test asserts after the AudioContext has been suspended for the first time. This ensures that the worklet's reported currentTime during its own initialization will also match the AudioContext's currentTime. Bug:40246707 Change-Id: I33403bdcd78918e61a462c2a0b1ec4d99f6b9562 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5906880 Reviewed-by: Michael Wilson <mjwilson@chromium.org> Commit-Queue: Sunggook Chue <sunggch@microsoft.com> Reviewed-by: Gabriel Brito <gabrielbrito@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1365266}
- Loading branch information