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

Issue 2254973003: Added functionality for specifying the initial signal level to use for the gain estimation in the l… (Closed)

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

Description

This CL adds functionality in the level controller to receive a signal level to use initially, instead of the default initial signal level. BUG= Committed: https://crrev.com/57fec1d828113241186e78710ec5e851cc1a0e81 Cr-Commit-Position: refs/heads/master@{#13931}

Patch Set 1 #

Patch Set 2 : Merge from upstream CL #

Total comments: 8

Patch Set 3 : Changes in response to reviewer comments #

Total comments: 2

Patch Set 4 : Removing the usage of the API for setting the levelcontroller initial level until clarity has been … #

Total comments: 2

Patch Set 5 : Added range check of the supplied level #

Total comments: 12

Patch Set 6 : Extended the use of the minimum level constant #

Patch Set 7 : Changed the level to be specified in dBFS #

Total comments: 2

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -15 lines) Patch
M webrtc/media/engine/fakewebrtcvoiceengine.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/level_controller/gain_selector.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/level_controller/gain_selector.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/level_controller/level_controller.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/level_controller/level_controller.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/level_controller/level_controller_unittest.cc View 1 4 chunks +19 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/level_controller/peak_level_estimator.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc View 1 2 3 4 5 6 3 chunks +19 lines, -4 lines 0 comments Download

Messages

Total messages: 41 (14 generated)
peah-webrtc
4 years, 4 months ago (2016-08-18 07:32:17 UTC) #3
aleloi
LGTM! https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/gain_selector.cc File webrtc/modules/audio_processing/level_controller/gain_selector.cc (right): https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/gain_selector.cc#newcode50 webrtc/modules/audio_processing/level_controller/gain_selector.cc:50: jump_start_gain) { Is this to avoid having to ...
4 years, 4 months ago (2016-08-18 11:43:40 UTC) #4
peah-webrtc
https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/gain_selector.cc File webrtc/modules/audio_processing/level_controller/gain_selector.cc (right): https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/gain_selector.cc#newcode50 webrtc/modules/audio_processing/level_controller/gain_selector.cc:50: jump_start_gain) { On 2016/08/18 11:43:39, aleloi wrote: > Is ...
4 years, 4 months ago (2016-08-18 12:48:37 UTC) #5
hlundin-webrtc
lgtm with nits. https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/level_controller.h File webrtc/modules/audio_processing/level_controller/level_controller.h (right): https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/level_controller.h#newcode75 webrtc/modules/audio_processing/level_controller/level_controller.h:75: bool gain_jumpstart_ = false; Naming: the ...
4 years, 4 months ago (2016-08-18 12:58:13 UTC) #6
peah-webrtc
https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/level_controller.h File webrtc/modules/audio_processing/level_controller/level_controller.h (right): https://codereview.webrtc.org/2254973003/diff/20001/webrtc/modules/audio_processing/level_controller/level_controller.h#newcode75 webrtc/modules/audio_processing/level_controller/level_controller.h:75: bool gain_jumpstart_ = false; On 2016/08/18 12:58:12, hlundin-webrtc wrote: ...
4 years, 4 months ago (2016-08-18 17:02:58 UTC) #7
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/2254973003/40001
4 years, 4 months ago (2016-08-18 17:03:14 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/7537)
4 years, 4 months ago (2016-08-18 17:22:44 UTC) #12
peah-webrtc
+mflodman@ as an OWNER of webrtc/media/ +henrika@ as an OWNER of webrtc/voice_engine/
4 years, 4 months ago (2016-08-18 18:13:33 UTC) #14
the sun
https://codereview.webrtc.org/2254973003/diff/40001/webrtc/voice_engine/voe_audio_processing_impl.h File webrtc/voice_engine/voe_audio_processing_impl.h (right): https://codereview.webrtc.org/2254973003/diff/40001/webrtc/voice_engine/voe_audio_processing_impl.h#newcode22 webrtc/voice_engine/voe_audio_processing_impl.h:22: void SetLevelControllerInitialLevel(float level); Can we avoid adding more to ...
4 years, 4 months ago (2016-08-22 08:00:17 UTC) #16
peah-webrtc
https://codereview.webrtc.org/2254973003/diff/40001/webrtc/voice_engine/voe_audio_processing_impl.h File webrtc/voice_engine/voe_audio_processing_impl.h (right): https://codereview.webrtc.org/2254973003/diff/40001/webrtc/voice_engine/voe_audio_processing_impl.h#newcode22 webrtc/voice_engine/voe_audio_processing_impl.h:22: void SetLevelControllerInitialLevel(float level); On 2016/08/22 08:00:17, the sun wrote: ...
4 years, 4 months ago (2016-08-22 08:04:23 UTC) #17
the sun
On 2016/08/22 08:04:23, peah-webrtc wrote: > https://codereview.webrtc.org/2254973003/diff/40001/webrtc/voice_engine/voe_audio_processing_impl.h > File webrtc/voice_engine/voe_audio_processing_impl.h (right): > > https://codereview.webrtc.org/2254973003/diff/40001/webrtc/voice_engine/voe_audio_processing_impl.h#newcode22 > ...
4 years, 4 months ago (2016-08-22 08:20:10 UTC) #18
peah-webrtc
Since there are (potentially) several possible places where the API call for setting the initial ...
4 years, 4 months ago (2016-08-22 11:21:10 UTC) #19
peah-webrtc
-henrik@ and -mflodman@ as OWNERship is now covered by solenberg@, as as no reviews have ...
4 years, 4 months ago (2016-08-22 11:29:47 UTC) #20
henrika_webrtc
LGTM https://codereview.webrtc.org/2254973003/diff/60001/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/2254973003/diff/60001/webrtc/modules/audio_processing/include/audio_processing.h#newcode423 webrtc/modules/audio_processing/include/audio_processing.h:423: // to compute the signal gain. Any specific ...
4 years, 4 months ago (2016-08-22 11:36:14 UTC) #23
peah-webrtc
4 years, 4 months ago (2016-08-22 11:51:00 UTC) #24
peah-webrtc
On 2016/08/22 11:36:14, henrika_webrtc wrote: > LGTM > > https://codereview.webrtc.org/2254973003/diff/60001/webrtc/modules/audio_processing/include/audio_processing.h > File webrtc/modules/audio_processing/include/audio_processing.h (right): > ...
4 years, 4 months ago (2016-08-22 11:52:24 UTC) #25
the sun
https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc File webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc (right): https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc#newcode40 webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc:40: RTC_DCHECK_GE(32768.f, level); Why not use the constants here? https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc#newcode43 ...
4 years, 4 months ago (2016-08-22 11:58:22 UTC) #26
peah-webrtc
I added a new patch where the hardcoded minimum level was replaced by the new ...
4 years, 4 months ago (2016-08-22 12:09:04 UTC) #27
peah-webrtc
I added a new patch where the hardcoded minimum level was replaced by the new ...
4 years, 4 months ago (2016-08-22 12:12:54 UTC) #28
the sun
https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc File webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc (right): https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc#newcode40 webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc:40: RTC_DCHECK_GE(32768.f, level); On 2016/08/22 12:09:04, peah-webrtc wrote: > On ...
4 years, 4 months ago (2016-08-22 14:18:39 UTC) #29
peah-webrtc
https://codereview.webrtc.org/2254973003/diff/60001/webrtc/modules/audio_processing/include/audio_processing.h File webrtc/modules/audio_processing/include/audio_processing.h (right): https://codereview.webrtc.org/2254973003/diff/60001/webrtc/modules/audio_processing/include/audio_processing.h#newcode423 webrtc/modules/audio_processing/include/audio_processing.h:423: // to compute the signal gain. On 2016/08/22 11:36:14, ...
4 years, 4 months ago (2016-08-23 05:33:44 UTC) #31
the sun
lgtm https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc File webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc (right): https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc#newcode40 webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc:40: RTC_DCHECK_GE(32768.f, level); On 2016/08/23 05:33:44, peah-webrtc wrote: > ...
4 years, 4 months ago (2016-08-23 06:23:38 UTC) #32
peah-webrtc
https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc File webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc (right): https://codereview.webrtc.org/2254973003/diff/80001/webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc#newcode40 webrtc/modules/audio_processing/level_controller/peak_level_estimator.cc:40: RTC_DCHECK_GE(32768.f, level); On 2016/08/23 06:23:38, the sun wrote: > ...
4 years, 3 months ago (2016-08-26 10:47:14 UTC) #33
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/2254973003/160001
4 years, 3 months ago (2016-08-26 10:56:08 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 3 months ago (2016-08-26 11:58:21 UTC) #38
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/57fec1d828113241186e78710ec5e851cc1a0e81 Cr-Commit-Position: refs/heads/master@{#13931}
4 years, 3 months ago (2016-08-26 11:58:26 UTC) #40
peah-webrtc
4 years, 3 months ago (2016-08-26 13:20:11 UTC) #41
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:160001) has been created in
https://codereview.webrtc.org/2283793002/ by peah@webrtc.org.

The reason for reverting is: This caused build breakage due to upstream
dependencies.

These dependencies need to be resolved before landing the CL..

Powered by Google App Engine
This is Rietveld 408576698