Fix for undesired audio blip when closing a muted tab.
AudioRendererHost was calling AudioMirroringManager::RemoveDiverter() just before AudioOutputController::Close(). This caused AOC to re-start the default audio output stream (to the user's speakers) for 0-50+ milliseconds before closing and shutting down. This change fixes the problem by moving the RemoveDiverter() call to a point after AOC has completed its close operation, which results in no new streams starting up during this shutdown process. BUG=474432 Review URL: https://codereview.chromium.org/1172883003 Cr-Commit-Position: refs/heads/master@{#333684}
Showing
Please register or sign in to comment