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

Issue 550933002: Adding media.MicrophoneVolume UMA stat (Closed)

Created:
6 years, 3 months ago by henrika (OOO until Aug 14)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding media.MicrophoneVolume UMA stat. BUG=405449, 411380 Committed: https://crrev.com/758955325212b2f561f09ca481967fb8c497e1ec Cr-Commit-Position: refs/heads/master@{#293919}

Patch Set 1 #

Patch Set 2 : Added native WebRTC log #

Patch Set 3 : Adding XML part #

Total comments: 5

Patch Set 4 : Adds warning if mic level is below 10% of max #

Total comments: 12

Patch Set 5 : Feedback from all reviewers #

Patch Set 6 : Fixed unit in XML file #

Patch Set 7 : Fixed build warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M media/audio/audio_input_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 3 4 5 6 4 chunks +21 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
henrika (OOO until Aug 14)
asvitkine@: for XML parts. Thanks!
6 years, 3 months ago (2014-09-08 12:11:45 UTC) #3
no longer working on chromium
https://codereview.chromium.org/550933002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/550933002/diff/40001/media/audio/audio_input_controller.cc#newcode514 media/audio/audio_input_controller.cc:514: int mic_volume_percent = static_cast<int>(100.0 * volume); why can't we ...
6 years, 3 months ago (2014-09-08 13:36:34 UTC) #4
henrika (OOO until Aug 14)
https://codereview.chromium.org/550933002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/550933002/diff/40001/media/audio/audio_input_controller.cc#newcode514 media/audio/audio_input_controller.cc:514: int mic_volume_percent = static_cast<int>(100.0 * volume); It seems to ...
6 years, 3 months ago (2014-09-08 13:50:58 UTC) #5
henrika (OOO until Aug 14)
Also added warning if mic level is below 10% of max.
6 years, 3 months ago (2014-09-08 14:07:53 UTC) #6
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/550933002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/550933002/diff/60001/tools/metrics/histograms/histograms.xml#newcode11490 tools/metrics/histograms/histograms.xml:11490: + than 100% on Linux. Measured approximately four ...
6 years, 3 months ago (2014-09-08 14:51:38 UTC) #7
tommi (sloooow) - chröme
https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc#newcode578 media/audio/audio_input_controller.cc:578: log_string += " <=> low microphone level!"; nit: ":" ...
6 years, 3 months ago (2014-09-08 18:38:40 UTC) #9
tommi (sloooow) - chröme
On 2014/09/08 18:38:40, tommi wrote: > https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc > File media/audio/audio_input_controller.cc (right): > > https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc#newcode578 > ...
6 years, 3 months ago (2014-09-08 18:38:57 UTC) #10
Henrik Grunell
LGTM with nits fixed. (Mine and others.) https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc#newcode37 media/audio/audio_input_controller.cc:37: const int ...
6 years, 3 months ago (2014-09-09 08:11:31 UTC) #11
Henrik Grunell
A general reflection: I'm afraid of spamming the logs. (Still :)) Maybe we should find ...
6 years, 3 months ago (2014-09-09 08:14:54 UTC) #12
henrika (OOO until Aug 14)
"A general reflection: I'm afraid of spamming the logs. (Still :)) Maybe we should find ...
6 years, 3 months ago (2014-09-09 08:20:11 UTC) #13
no longer working on chromium
lgtm https://codereview.chromium.org/550933002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/550933002/diff/40001/media/audio/audio_input_controller.cc#newcode514 media/audio/audio_input_controller.cc:514: int mic_volume_percent = static_cast<int>(100.0 * volume); On 2014/09/08 ...
6 years, 3 months ago (2014-09-09 08:21:11 UTC) #14
Henrik Grunell
On 2014/09/09 08:20:11, henrika wrote: > "A general reflection: I'm afraid of spamming the logs. ...
6 years, 3 months ago (2014-09-09 08:27:32 UTC) #15
henrika (OOO until Aug 14)
Thanks all. Landing. https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/550933002/diff/60001/media/audio/audio_input_controller.cc#newcode37 media/audio/audio_input_controller.cc:37: const int kLowLevelMicrophoneLevelInPercent = 10; On ...
6 years, 3 months ago (2014-09-09 08:52:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/550933002/100001
6 years, 3 months ago (2014-09-09 08:57:00 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/3061)
6 years, 3 months ago (2014-09-09 09:51:42 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/550933002/120001
6 years, 3 months ago (2014-09-09 09:58:24 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 7447e578139cc6243b0ceef8a42a7644e3a15f4e
6 years, 3 months ago (2014-09-09 11:12:35 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:52:46 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/758955325212b2f561f09ca481967fb8c497e1ec
Cr-Commit-Position: refs/heads/master@{#293919}

Powered by Google App Engine
This is Rietveld 408576698