Don't background processes with active audio output.
If a process is actively rendering audio, it should not be put into the background state. "Active" is determined by having any stream in the playing state as considered by AudioRendererHost. When a tab has active audio, it's already being woken up ~ every 10-20ms, so I expect the power impact of this change to be negligible. This should reduce glitching under load. BUG=362294 TEST=Ensure Windows playback under load no longer glitches. Review URL: https://codereview.chromium.org/298253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274020 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment