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

Issue 1678813002: Moved the GainControlForNewAGC class to a separate file. (Closed)

Created:
4 years, 10 months ago by peah-webrtc
Modified:
4 years, 10 months ago
Reviewers:
the sun
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, 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

Moved the GainControlForNewAGC class to be a separate file. Apart from being motivated in order to make the source files shorter this is needed when separating the APM submodules structs into separate files. BUG= Committed: https://crrev.com/be61562bfb7b72a38462c4303c9a205379adeddb Cr-Commit-Position: refs/heads/master@{#11611}

Patch Set 1 #

Patch Set 2 : Added macro call to limit copy and assign access #

Total comments: 21

Patch Set 3 : Changes in response to reviewer comments #

Patch Set 4 : Added thread checker and changed to use the GainControl interface solely #

Patch Set 5 : Changed the locking test to match how the gain control is used in practice and to comply with the n… #

Total comments: 7

Patch Set 6 : Merge from latest master #

Patch Set 7 : Removed threadcheckers that failed on the tests and that are on functions only accessed within APM #

Patch Set 8 : Moved threadcheckers to the VolumeCallbacks functions #

Patch Set 9 : Testing other threadchecker variant #

Patch Set 10 : Added locks #

Patch Set 11 : Removed threadchecker and introduced lock #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -84 lines) Patch
M webrtc/modules/audio_processing/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 5 6 7 8 9 11 chunks +16 lines, -79 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
A webrtc/modules/audio_processing/gain_control_for_experimental_agc.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +70 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/gain_control_for_experimental_agc.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (22 generated)
peah-webrtc
4 years, 10 months ago (2016-02-08 08:40:00 UTC) #3
peah-webrtc
Hold on, one more change will come.
4 years, 10 months ago (2016-02-08 08:50:19 UTC) #4
peah-webrtc
Now it is fine again to review it!
4 years, 10 months ago (2016-02-08 08:54:28 UTC) #5
the sun
Thanks! A few small comments; biggest one is about the name. https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc File webrtc/modules/audio_processing/gain_control_for_new_agc.cc (right): ...
4 years, 10 months ago (2016-02-08 09:21:39 UTC) #6
peah-webrtc
https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc File webrtc/modules/audio_processing/gain_control_for_new_agc.cc (right): https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc#newcode17 webrtc/modules/audio_processing/gain_control_for_new_agc.cc:17: GainControlForNewAgc::GainControlForNewAgc(GainControlImpl* gain_control) On 2016/02/08 09:21:39, the sun wrote: > ...
4 years, 10 months ago (2016-02-08 13:01:12 UTC) #7
the sun
https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc File webrtc/modules/audio_processing/gain_control_for_new_agc.cc (right): https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc#newcode17 webrtc/modules/audio_processing/gain_control_for_new_agc.cc:17: GainControlForNewAgc::GainControlForNewAgc(GainControlImpl* gain_control) On 2016/02/08 13:01:12, peah-webrtc wrote: > On ...
4 years, 10 months ago (2016-02-08 14:18:11 UTC) #8
peah-webrtc
https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc File webrtc/modules/audio_processing/gain_control_for_new_agc.cc (right): https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.cc#newcode17 webrtc/modules/audio_processing/gain_control_for_new_agc.cc:17: GainControlForNewAgc::GainControlForNewAgc(GainControlImpl* gain_control) On 2016/02/08 14:18:11, the sun wrote: > ...
4 years, 10 months ago (2016-02-09 09:11:15 UTC) #9
the sun
lgtm https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.h File webrtc/modules/audio_processing/gain_control_for_new_agc.h (right): https://codereview.webrtc.org/1678813002/diff/20001/webrtc/modules/audio_processing/gain_control_for_new_agc.h#newcode58 webrtc/modules/audio_processing/gain_control_for_new_agc.h:58: GainControl* real_gain_control_; On 2016/02/09 09:11:15, peah-webrtc wrote: > ...
4 years, 10 months ago (2016-02-09 11:49:55 UTC) #10
peah-webrtc
https://codereview.webrtc.org/1678813002/diff/80001/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc File webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc (right): https://codereview.webrtc.org/1678813002/diff/80001/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc#newcode740 webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc:740: apm_->gain_control()->stream_analog_level(); On 2016/02/09 11:49:55, the sun wrote: > Just ...
4 years, 10 months ago (2016-02-10 09:33:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/80001
4 years, 10 months ago (2016-02-10 09:33:53 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_asan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_asan/builds/12309)
4 years, 10 months ago (2016-02-10 09:53:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/100001
4 years, 10 months ago (2016-02-11 06:38:31 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_asan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_asan/builds/12340)
4 years, 10 months ago (2016-02-11 06:55:36 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/120001
4 years, 10 months ago (2016-02-11 21:17:50 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/12444)
4 years, 10 months ago (2016-02-11 21:39:46 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/140001
4 years, 10 months ago (2016-02-12 06:35:01 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-12 07:41:18 UTC) #28
peah-webrtc
Due to the trybots tests failing due to the threadcheckers, I needed to remove two ...
4 years, 10 months ago (2016-02-12 08:12:42 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/160001
4 years, 10 months ago (2016-02-12 09:24:39 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/12685)
4 years, 10 months ago (2016-02-12 09:37:25 UTC) #33
the sun
On 2016/02/12 08:12:42, peah-webrtc wrote: > Due to the trybots tests failing due to the ...
4 years, 10 months ago (2016-02-12 09:49:15 UTC) #34
peah-webrtc
4 years, 10 months ago (2016-02-12 14:25:19 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/200001
4 years, 10 months ago (2016-02-12 14:25:31 UTC) #37
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios32_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/5111) linux_gn_rel on ...
4 years, 10 months ago (2016-02-12 14:27:05 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/200001
4 years, 10 months ago (2016-02-12 23:06:15 UTC) #41
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-12 23:36:48 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1678813002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1678813002/200001
4 years, 10 months ago (2016-02-13 23:34:02 UTC) #47
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 10 months ago (2016-02-14 00:40:52 UTC) #49
commit-bot: I haz the power
4 years, 10 months ago (2016-02-14 00:41:03 UTC) #51
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/be61562bfb7b72a38462c4303c9a205379adeddb
Cr-Commit-Position: refs/heads/master@{#11611}

Powered by Google App Engine
This is Rietveld 408576698