DescriptionWebContentsAudioMuter: Mute all audio output from a WebContentsImpl.
Adds support in libcontent for muting all audio output from a
WebContentsImpl. This is meant to be activated via user actions in
the browser tab strip UI (follow-up change pending). To be clear, this
change introduces the functionality required to mute audio, but there is
nothing in this change to activate it. The plan is to provide this
feature experimentally behind about:flags, and gather data to drive
later launch decisions.
Main approach: Introduce the WebContentsAudioMuter, which leverages the
existing WebContents audio capture mechanisms (AudioMirroringManager) to
divert all audio output to a "null" destination. In other words, this
is essentially "audio capture to nowhere."
BUG=360372
Committed: https://crrev.com/50f9789a2baac93fd5ac908ae01e4bec597955cf
Cr-Commit-Position: refs/heads/master@{#296078}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Changes per avi's comments. #
Total comments: 2
Patch Set 3 : Moar alphabetizing. ;-) #
Total comments: 10
Patch Set 4 : Addressed Dale's comments. #
Messages
Total messages: 14 (2 generated)
|