Move audibility detection to BaseAudioContext
Have the BaseAudioContext do the audibility detection instead of the AudioDestination. And also post a task to the main thread when audible audio starts or stops. This is in preparation for reporting this information to the browser. Bug: 855069 Test: Change-Id: I8abd9be664697e8cc02998daec06f9ca0d34a98d Reviewed-on: https://chromium-review.googlesource.com/1165947Reviewed-by:Hongchan Choi <hongchan@chromium.org> Commit-Queue: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#582029}
Showing
Please register or sign in to comment