AudioWorkletGlobalScope has valid currentFrame during construction.
AudioWorkletGlobalScope is created with 0 currentFrame count,
which make currentTime as 0 even though audio context has
non zero currentTime.
The fix is to pass the currentFrame info during creation through
AudioWorkletObjectProxy.
Bug: 372866278
Change-Id: I717744005588ebc571862367662b0ac2cdb947ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958713
Commit-Queue: Sunggook Chue sunggch@microsoft.com
Reviewed-by: Michael Wilson mjwilson@chromium.org
Reviewed-by: Hongchan Choi hongchan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1379851}