WebAudio: do not use a fake audio device during layout tests.
This CL removes ContentRendererClient::OverrideCreateAudioDevice because it breaks Web Audio tests that rely on rendering. Indeed, the fake audio path used for layout tests wouldn't notify the audio destination node that playback happened which means that calls to `resume()` would never be resolved as they are dependant on the audio context to start rendering. This code was added a 5 years ago and the CL does not explain why nor link to a bug: https://chromium.googlesource.com/chromium/src/+/f065ec59efdaa8e00940381a99b93ef7960ba0f5%5E%21/ Bug: None Change-Id: Ifc6854f97bdaf580b24cfc28460153b243188ac2 Reviewed-on: https://chromium-review.googlesource.com/1067100 Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:Raymond Toy <rtoy@chromium.org> Reviewed-by:
Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#560909}
Showing
Please register or sign in to comment