Do not access AudioWorklet::IsReady() from the audio thread
AudioWorklet::IsReady() checks the state of the worklet object and must be accessed from the main thread. OfflineAudioDestinationHandler::DoOfflineRendering() violates the rule and this CL fixes GetRenderingThread() method to check the assigned worklet thread instead. Bug: 804908 Change-Id: I1ff1f779a3bb75d1715f521a2656a7c6c8c51a9f Reviewed-on: https://chromium-review.googlesource.com/882121Reviewed-by:Raymond Toy <rtoy@chromium.org> Commit-Queue: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#532571}
Showing
Please register or sign in to comment