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

Issue 1774553002: Drop the 16kHz sample rate restriction on AECM and zero out higher bands (Closed)

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

Description

Drop the 16kHz sample rate restriction on AECM and zero out higher bands The restriction has been removed completely and AECM now supports any number of higher bands. But this has been achieved by always zeroing out the higher bands, instead of applying a constant gain which is the average over half of the lower band (like it is done for the AEC), because that would be non-trivial to implement and we don't want to spend too much time on AECM, since we want to get rid of it in the long term anyway. R=peah@webrtc.org, solenberg@webrtc.org, tina.legrand@webrtc.org Committed: https://crrev.com/f687d53aabee0523ce6e9e0636163af8df120e41 Cr-Commit-Position: refs/heads/master@{#11931}

Patch Set 1 #

Patch Set 2 : Fixed unittest #

Total comments: 4

Patch Set 3 : Fix error message #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -75 lines) Patch
M data/audio_processing/output_data_fixed.pb View 1 Binary file 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 4 chunks +1 line, -13 lines 0 comments Download
M webrtc/modules/audio_processing/echo_control_mobile_impl.cc View 1 2 3 chunks +9 lines, -3 lines 2 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_unittest.cc View 1 2 10 chunks +33 lines, -53 lines 0 comments Download
M webrtc/voice_engine/transmit_mixer.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (8 generated)
aluebs-webrtc
4 years, 9 months ago (2016-03-07 16:09:53 UTC) #2
peah-webrtc
On 2016/03/07 16:09:53, aluebs-webrtc wrote: Nice changes! Have you tested this in an apprtc mobile ...
4 years, 9 months ago (2016-03-08 06:17:57 UTC) #3
aluebs-webrtc
On 2016/03/08 06:17:57, peah-webrtc wrote: > On 2016/03/07 16:09:53, aluebs-webrtc wrote: > > Nice changes! ...
4 years, 9 months ago (2016-03-08 09:24:15 UTC) #4
hlundin-webrtc
Nice, but I don't know the code well enough to provide a confident approval.
4 years, 9 months ago (2016-03-08 10:54:25 UTC) #6
aluebs-webrtc
Fixed the unittest. PTAL.
4 years, 9 months ago (2016-03-08 15:28:14 UTC) #7
turaj
I'm far less familiar with the code than Henrik, so I leave it to Per ...
4 years, 9 months ago (2016-03-08 16:36:00 UTC) #8
aluebs-webrtc
https://codereview.webrtc.org/1774553002/diff/20001/webrtc/modules/audio_processing/echo_control_mobile_impl.cc File webrtc/modules/audio_processing/echo_control_mobile_impl.cc (right): https://codereview.webrtc.org/1774553002/diff/20001/webrtc/modules/audio_processing/echo_control_mobile_impl.cc#newcode323 webrtc/modules/audio_processing/echo_control_mobile_impl.cc:323: LOG(LS_ERROR) << "AECM only supports 16 kHz or lower ...
4 years, 9 months ago (2016-03-08 16:45:32 UTC) #9
aluebs-webrtc
Tested with peah on an AppRTCDemo call that this change doesn't break the aecm and ...
4 years, 9 months ago (2016-03-09 12:51:59 UTC) #10
peah-webrtc
On 2016/03/09 12:51:59, aluebs-webrtc wrote: > Tested with peah on an AppRTCDemo call that this ...
4 years, 9 months ago (2016-03-09 13:26:26 UTC) #11
peah-webrtc
4 years, 9 months ago (2016-03-09 13:26:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774553002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774553002/40001
4 years, 9 months ago (2016-03-09 13:30:13 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/4006)
4 years, 9 months ago (2016-03-09 13:34:36 UTC) #16
aluebs-webrtc
Apparently I need some more owner's approval :) tlegrand: data/audio_processing/output_data_fixed.pb solenberg: webrtc/voice_engine/transmit_mixer.cc
4 years, 9 months ago (2016-03-09 13:47:34 UTC) #18
tlegrand-webrtc
On 2016/03/09 13:47:34, aluebs-webrtc wrote: > Apparently I need some more owner's approval :) > ...
4 years, 9 months ago (2016-03-09 14:53:18 UTC) #19
the sun
lgtm for transmit_mixer.cc https://codereview.webrtc.org/1774553002/diff/40001/webrtc/modules/audio_processing/echo_control_mobile_impl.cc File webrtc/modules/audio_processing/echo_control_mobile_impl.cc (right): https://codereview.webrtc.org/1774553002/diff/40001/webrtc/modules/audio_processing/echo_control_mobile_impl.cc#newcode209 webrtc/modules/audio_processing/echo_control_mobile_impl.cc:209: for (size_t band = 1u; band ...
4 years, 9 months ago (2016-03-09 14:58:22 UTC) #20
tlegrand-webrtc
Really nice change! LTGM, if you update the description, and given that the need for ...
4 years, 9 months ago (2016-03-09 15:00:59 UTC) #21
aluebs-webrtc
Well, the restriction has been removed completely and AECM now supports any number of higher ...
4 years, 9 months ago (2016-03-09 15:23:20 UTC) #22
aluebs-webrtc
On 2016/03/09 15:00:59, tlegrand-webrtc wrote: > Really nice change! > > LTGM, if you update ...
4 years, 9 months ago (2016-03-09 15:27:49 UTC) #23
tlegrand-webrtc
On 2016/03/09 15:27:49, aluebs-webrtc wrote: > On 2016/03/09 15:00:59, tlegrand-webrtc wrote: > > Really nice ...
4 years, 9 months ago (2016-03-09 15:34:29 UTC) #24
aluebs-webrtc
On 2016/03/09 15:34:29, tlegrand-webrtc wrote: > On 2016/03/09 15:27:49, aluebs-webrtc wrote: > > On 2016/03/09 ...
4 years, 9 months ago (2016-03-09 15:37:29 UTC) #26
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f687d53aabee0523ce6e9e0636163af8df120e41 Cr-Commit-Position: refs/heads/master@{#11931}
4 years, 9 months ago (2016-03-09 15:38:14 UTC) #29
aluebs-webrtc
Committed patchset #3 (id:40001) manually as f687d53aabee0523ce6e9e0636163af8df120e41 (presubmit successful).
4 years, 9 months ago (2016-03-09 15:38:15 UTC) #30
perkj_webrtc
On 2016/03/09 15:38:15, aluebs-webrtc wrote: > Committed patchset #3 (id:40001) manually as > f687d53aabee0523ce6e9e0636163af8df120e41 (presubmit ...
4 years, 9 months ago (2016-03-10 00:22:12 UTC) #31
perkj_webrtc
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.webrtc.org/1781893002/ by perkj@webrtc.org. ...
4 years, 9 months ago (2016-03-10 00:23:04 UTC) #32
aluebs-webrtc
4 years, 9 months ago (2016-03-10 08:43:55 UTC) #33
Message was sent while issue was closed.
On 2016/03/10 00:22:12, perkj_webrtc wrote:
> On 2016/03/09 15:38:15, aluebs-webrtc wrote:
> > Committed patchset #3 (id:40001) manually as
> > f687d53aabee0523ce6e9e0636163af8df120e41 (presubmit successful).
> 
> Breaks Android it looks like.
> See your own try jobs and
>
https://build.chromium.org/p/client.webrtc/builders/Android32%20Tests%20%28L%...

You are right. I overlooked that because of some flaky bots. Sorry about that.

Powered by Google App Engine
This is Rietveld 408576698