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

Issue 2549143004: Added histogram for the output level int the audio processing module (Closed)

Created:
4 years ago by peah-webrtc
Modified:
4 years ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

To verify the upcoming code changes it is required that the level of the output in the audio processing module is monitored. This CL adds that. BUG=webrtc:6181, webrtc:6183, webrtc:6220 Review-Url: https://codereview.webrtc.org/2549143004 Cr-Commit-Position: refs/heads/master@{#15718} Committed: https://chromium.googlesource.com/external/webrtc/+/1b08dc33ebcdb48f951258cf75d97dff0e60b4f1

Patch Set 1 #

Total comments: 4

Patch Set 2 : Corrected the histograms #

Total comments: 2

Patch Set 3 : Changed to using a bool value to control the reporting of the levels #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 2 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
peah-webrtc
henrik.lundin@: PTAL Thanks!
4 years ago (2016-12-06 15:55:14 UTC) #4
hlundin-webrtc
https://codereview.webrtc.org/2549143004/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2549143004/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1236 webrtc/modules/audio_processing/audio_processing_impl.cc:1236: RTC_HISTOGRAM_COUNTS("WebRTC.Audio.ApmCaptureOutputLevelAverage", Did you not want this to be RTC_HISTOGRAM_COUNTS_LINEAR? ...
4 years ago (2016-12-06 16:07:10 UTC) #5
hlundin-webrtc
On 2016/12/06 16:07:10, hlundin-webrtc wrote: > https://codereview.webrtc.org/2549143004/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc > File webrtc/modules/audio_processing/audio_processing_impl.cc (right): > > https://codereview.webrtc.org/2549143004/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1236 > ...
4 years ago (2016-12-06 16:08:00 UTC) #6
peah-webrtc
Thanks for the review! I have updated the code. A CL is also created for ...
4 years ago (2016-12-20 14:02:39 UTC) #8
hlundin-webrtc
LG, but I have one suggestions. https://codereview.webrtc.org/2549143004/diff/60001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2549143004/diff/60001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1138 webrtc/modules/audio_processing/audio_processing_impl.cc:1138: if (++capture_rms_interval_counter_ >= ...
4 years ago (2016-12-20 14:41:27 UTC) #9
peah-webrtc
https://codereview.webrtc.org/2549143004/diff/60001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/2549143004/diff/60001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode1138 webrtc/modules/audio_processing/audio_processing_impl.cc:1138: if (++capture_rms_interval_counter_ >= 1000) { On 2016/12/20 14:41:26, hlundin-webrtc ...
4 years ago (2016-12-20 14:46:47 UTC) #10
hlundin-webrtc
LGTM, but don't commit until the corresponding Chromium CL is approved.
4 years ago (2016-12-20 15:12:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2549143004/80001
4 years ago (2016-12-20 20:36:44 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-20 21:46:03 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/1b08dc33ebcdb48f951258cf7...

Powered by Google App Engine
This is Rietveld 408576698