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

Issue 1811443002: Added a bitexactness test for the level estimator in the audio processing module (Closed)

Created:
4 years, 9 months ago by peah-webrtc
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@NsBitLatest_CL
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added a bitexactness test for the level estimator in the audio processing module. BUG=webrtc:5338 Committed: https://crrev.com/19b7b665cc69ae5027826ef45f98cb72ed95605d Cr-Commit-Position: refs/heads/master@{#12064}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Changes in response to reviewer comment and in order to harmonize the code with the other bitexactn… #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -0 lines) Patch
A webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc View 1 1 chunk +93 lines, -0 lines 1 comment Download
M webrtc/modules/audio_processing/test/bitexactness_tools.h View 1 1 chunk +1 line, -0 lines 2 comments Download
M webrtc/modules/modules.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (6 generated)
peah-webrtc
4 years, 9 months ago (2016-03-16 07:21:27 UTC) #3
minyue-webrtc
small drive-by comment https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc File webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc#newcode79 webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc:79: void RunBitexactnessTest(int sample_rate_hz, Is |rms_reference| derivable ...
4 years, 9 months ago (2016-03-16 09:55:01 UTC) #5
hlundin-webrtc
https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc File webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc#newcode2 webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc:2: * Copyright (c) 2015 The WebRTC project authors. All ...
4 years, 9 months ago (2016-03-16 12:57:05 UTC) #6
peah-webrtc
https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc File webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc#newcode2 webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc:2: * Copyright (c) 2015 The WebRTC project authors. All ...
4 years, 9 months ago (2016-03-17 14:18:06 UTC) #7
hlundin-webrtc
LGTM with a nit, and a lingering feeling that you've messed up your CL dependencies... ...
4 years, 9 months ago (2016-03-17 15:20:58 UTC) #8
minyue-webrtc
lgtm
4 years, 9 months ago (2016-03-18 08:33:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811443002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811443002/20001
4 years, 9 months ago (2016-03-20 12:56:11 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-20 15:36:32 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/19b7b665cc69ae5027826ef45f98cb72ed95605d Cr-Commit-Position: refs/heads/master@{#12064}
4 years, 9 months ago (2016-03-20 15:36:42 UTC) #15
peah-webrtc
4 years, 9 months ago (2016-03-20 15:40:55 UTC) #16
Message was sent while issue was closed.
https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processi...
File webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc
(right):

https://codereview.webrtc.org/1811443002/diff/1/webrtc/modules/audio_processi...
webrtc/modules/audio_processing/level_estimator_bitexactness_unittest.cc:114:
const int kRmsReference = 65;
On 2016/03/17 15:20:57, hlundin-webrtc wrote:
> On 2016/03/17 14:18:06, peah-webrtc wrote:
> > On 2016/03/16 12:57:05, hlundin-webrtc wrote:
> > > You are using three different values for kRmsReference. Add them as
distinct
> > > constants in the unnamed namespace, (kLowRmsReference, ...), and don't
> define
> > > them in each TEST.
> > 
> > I'm not too happy about that. It may be that they will differ for the
> different
> > tests. I'd rather have them gathered inside the actual test. I have rewrite
it
> a
> > bit now though. Please let me know what you think!
> 
> Fair enough, now that you have fewer test cases.

Acknowledged.

Powered by Google App Engine
This is Rietveld 408576698