DescriptionFix 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
Committed: https://crrev.com/04eb0d223d2aaa440839ac7d9fe47148fcae83ac
Cr-Commit-Position: refs/heads/master@{#333684}
Patch Set 1 #Patch Set 2 : Fix crash on Windows (grab pointer before scoped_ptr is passed). #Messages
Total messages: 9 (4 generated)
|