Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Issue 663123002: Reduce power logging and UMA stats when AGC is disabled (Closed)

Created:
6 years, 2 months ago by henrika (OOO until Aug 14)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reduce power logging and UMA stats when AGC is disabled. Sets a const bool member when AIC is constructed and uses that member to access the stream AGC setting on the correct thread. Same member also enables or disables power logging. In short: should reduce logging for all non-WebRTC clients. BUG=408967 TEST=WebRTC clients checking DVLOGs. Committed: https://crrev.com/4159b37157a2f32c6a15cf5a4cef8f6e8f4bd24e Cr-Commit-Position: refs/heads/master@{#300664}

Patch Set 1 #

Patch Set 2 : Fixes build issue on Android #

Patch Set 3 : nit #

Total comments: 11

Patch Set 4 : Feedback from tommi@ #

Patch Set 5 : nit #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -50 lines) Patch
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 3 2 chunks +11 lines, -17 lines 0 comments Download
M media/audio/audio_input_controller.h View 1 2 3 4 5 5 chunks +7 lines, -8 lines 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 3 4 10 chunks +17 lines, -24 lines 0 comments Download
M media/audio/test_audio_input_controller_factory.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
henrika (OOO until Aug 14)
Tommi, as discussed off-line. Please check. Thanks.
6 years, 2 months ago (2014-10-20 14:26:48 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/663123002/diff/40001/content/browser/renderer_host/media/audio_input_renderer_host.cc File content/browser/renderer_host/media/audio_input_renderer_host.cc (right): https://codereview.chromium.org/663123002/diff/40001/content/browser/renderer_host/media/audio_input_renderer_host.cc#newcode396 content/browser/renderer_host/media/audio_input_renderer_host.cc:396: media::AudioParameters::AUDIO_PCM_LOW_LATENCY && if format() is not 'low latency' bug ...
6 years, 2 months ago (2014-10-20 16:03:28 UTC) #3
henrika (OOO until Aug 14)
PTAL Tommi. Thanks. https://codereview.chromium.org/663123002/diff/40001/content/browser/renderer_host/media/audio_input_renderer_host.cc File content/browser/renderer_host/media/audio_input_renderer_host.cc (right): https://codereview.chromium.org/663123002/diff/40001/content/browser/renderer_host/media/audio_input_renderer_host.cc#newcode396 content/browser/renderer_host/media/audio_input_renderer_host.cc:396: media::AudioParameters::AUDIO_PCM_LOW_LATENCY && Good point. I had ...
6 years, 2 months ago (2014-10-21 08:00:28 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/663123002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/663123002/diff/40001/media/audio/audio_input_controller.cc#newcode275 media/audio/audio_input_controller.cc:275: // Disable power monitoring for streams which runs without ...
6 years, 2 months ago (2014-10-21 10:09:03 UTC) #5
henrika (OOO until Aug 14)
https://codereview.chromium.org/663123002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/663123002/diff/40001/media/audio/audio_input_controller.cc#newcode275 media/audio/audio_input_controller.cc:275: // Disable power monitoring for streams which runs without ...
6 years, 2 months ago (2014-10-21 10:24:06 UTC) #6
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/663123002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/663123002/diff/40001/media/audio/audio_input_controller.cc#newcode331 media/audio/audio_input_controller.cc:331: // Changing the AGC state is not supported ...
6 years, 2 months ago (2014-10-21 14:17:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663123002/80001
6 years, 2 months ago (2014-10-21 15:39:05 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/81730) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/71371) android_aosp ...
6 years, 2 months ago (2014-10-21 15:44:09 UTC) #11
henrika (OOO until Aug 14)
Looks like I have to rebase. Will fix this tomorrow.
6 years, 2 months ago (2014-10-21 15:52:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663123002/100001
6 years, 2 months ago (2014-10-22 09:52:50 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 2 months ago (2014-10-22 11:08:41 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 11:09:21 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4159b37157a2f32c6a15cf5a4cef8f6e8f4bd24e
Cr-Commit-Position: refs/heads/master@{#300664}

Powered by Google App Engine
This is Rietveld 408576698