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

Issue 1770823002: Removed the AudioProcessing dependency in EchoCancellerImpl (Closed)

Created:
4 years, 9 months ago by peah-webrtc
Modified:
4 years, 9 months ago
Reviewers:
the sun, hlundin-webrtc
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@CleanUpAecImpl_CL
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removed the AudioProcessing dependency in EchoCancellerImpl. This CL removes the dependency of AudioProcessing in EchoCancellerImpl. It is breaking the public APM API by having a different error code behavior so please review it carefully. I made a comment about the API breaking change in the code section of this CL. BUG=webrtc:5337 Committed: https://crrev.com/b58a158fce9a64ac372913ae99f462cf228aa9e2 Cr-Commit-Position: refs/heads/master@{#11998}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Changed the way the error checks were done #

Total comments: 2

Patch Set 3 : Added missing removal of now unused state variables #

Total comments: 20

Patch Set 4 : Changes in response to reviewer comments #

Patch Set 5 : Corrected the error code returned when the stream delay had not been set #

Total comments: 9

Patch Set 6 : Changes in response to reviewer comments #

Patch Set 7 : Rebase with latest master #

Patch Set 8 : Rebase from latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -50 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 5 6 7 4 chunks +20 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/echo_cancellation_impl.h View 1 2 3 4 5 6 7 5 chunks +10 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/echo_cancellation_impl.cc View 1 2 3 4 5 6 7 11 chunks +63 lines, -39 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
peah-webrtc
https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/echo_cancellation_impl.cc File webrtc/modules/audio_processing/echo_cancellation_impl.cc (left): https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/echo_cancellation_impl.cc#oldcode249 webrtc/modules/audio_processing/echo_cancellation_impl.cc:249: if (enable && apm_->echo_control_mobile()->is_enabled()) { Please examine this change ...
4 years, 9 months ago (2016-03-07 13:12:40 UTC) #5
hlundin-webrtc
LGTM with comments. https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode722 webrtc/modules/audio_processing/audio_processing_impl.cc:722: RETURN_ON_ERR((public_submodules_->echo_cancellation->is_enabled() && You don't have to ...
4 years, 9 months ago (2016-03-07 16:03:08 UTC) #6
peah-webrtc
https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode722 webrtc/modules/audio_processing/audio_processing_impl.cc:722: RETURN_ON_ERR((public_submodules_->echo_cancellation->is_enabled() && On 2016/03/07 16:03:08, hlundin-webrtc wrote: > You ...
4 years, 9 months ago (2016-03-08 06:05:08 UTC) #7
hlundin-webrtc
Still LGTM. https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/40001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode722 webrtc/modules/audio_processing/audio_processing_impl.cc:722: RETURN_ON_ERR((public_submodules_->echo_cancellation->is_enabled() && On 2016/03/08 06:05:08, peah-webrtc wrote: ...
4 years, 9 months ago (2016-03-08 12:39:23 UTC) #8
the sun
https://codereview.webrtc.org/1770823002/diff/60001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/60001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode722 webrtc/modules/audio_processing/audio_processing_impl.cc:722: if (public_submodules_->echo_cancellation->is_enabled() && Make this a DCHECK and move ...
4 years, 9 months ago (2016-03-11 10:14:13 UTC) #9
the sun
https://codereview.webrtc.org/1770823002/diff/80001/webrtc/modules/audio_processing/echo_cancellation_impl.cc File webrtc/modules/audio_processing/echo_cancellation_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/80001/webrtc/modules/audio_processing/echo_cancellation_impl.cc#newcode61 webrtc/modules/audio_processing/echo_cancellation_impl.cc:61: public: remove; default for struct https://codereview.webrtc.org/1770823002/diff/80001/webrtc/modules/audio_processing/echo_cancellation_impl.cc#newcode71 webrtc/modules/audio_processing/echo_cancellation_impl.cc:71: int sample_rate_hz; ...
4 years, 9 months ago (2016-03-11 10:26:02 UTC) #10
peah-webrtc
https://codereview.webrtc.org/1770823002/diff/80001/webrtc/modules/audio_processing/echo_cancellation_impl.cc File webrtc/modules/audio_processing/echo_cancellation_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/80001/webrtc/modules/audio_processing/echo_cancellation_impl.cc#newcode61 webrtc/modules/audio_processing/echo_cancellation_impl.cc:61: public: On 2016/03/11 10:26:01, the sun wrote: > remove; ...
4 years, 9 months ago (2016-03-11 13:49:16 UTC) #11
peah-webrtc
Corrected an incorrect error code that was returned, which broke tests that I had not ...
4 years, 9 months ago (2016-03-15 06:53:57 UTC) #12
the sun
https://codereview.webrtc.org/1770823002/diff/120001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/120001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode722 webrtc/modules/audio_processing/audio_processing_impl.cc:722: if (public_submodules_->echo_cancellation->is_enabled() && Make this a DCHECK and move ...
4 years, 9 months ago (2016-03-15 09:38:55 UTC) #13
peah-webrtc
https://codereview.webrtc.org/1770823002/diff/120001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/120001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode722 webrtc/modules/audio_processing/audio_processing_impl.cc:722: if (public_submodules_->echo_cancellation->is_enabled() && On 2016/03/15 09:38:55, the sun wrote: ...
4 years, 9 months ago (2016-03-15 10:32:10 UTC) #14
the sun
lgtm https://codereview.webrtc.org/1770823002/diff/120001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1770823002/diff/120001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode730 webrtc/modules/audio_processing/audio_processing_impl.cc:730: !was_stream_delay_set()) { On 2016/03/15 10:32:10, peah-webrtc wrote: > ...
4 years, 9 months ago (2016-03-15 14:22:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1770823002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770823002/180001
4 years, 9 months ago (2016-03-15 15:18:58 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 9 months ago (2016-03-15 16:34:29 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 16:34:35 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b58a158fce9a64ac372913ae99f462cf228aa9e2
Cr-Commit-Position: refs/heads/master@{#11998}

Powered by Google App Engine
This is Rietveld 408576698