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

Issue 1865633005: Don't always downsample to 16kHz in the reverse stream in APM (Closed)

Created:
4 years, 8 months ago by aluebs-webrtc
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, 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

Don't always downsample to 16kHz in the reverse stream in APM The first approach landed here: https://codereview.webrtc.org/1773173002 But it was partially reverted, because it affected the AEC performance, here: https://codereview.webrtc.org/1867483003/ The main difference of this approach is that it doesn't use the 3-band splitting filter in the reverse stream, which seems to be the culprit of the AEC regression. Also, the 2-band splitting filter has been used for the 32kHz case for a long time without any problem, and this is expanded in the CL to cover the 48kHz case as well. BUG=webrtc:5725 TBR=tina.legrand@webrtc.org Committed: https://crrev.com/eb3603bd5e72b3a941363c559ddea99ee71d510a Cr-Commit-Position: refs/heads/master@{#12451}

Patch Set 1 #

Patch Set 2 : Only enable when render processing #

Total comments: 2

Patch Set 3 : rebasing #

Patch Set 4 : Simplify if-statement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -13 lines) Patch
M data/audio_processing/output_data_fixed.pb View 1 2 Binary file 0 comments Download
M data/audio_processing/output_data_float.pb View 1 Binary file 0 comments Download
M data/audio_processing/output_data_mac.pb View 1 Binary file 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 2 chunks +13 lines, -11 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_unittest.cc View 1 2 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
aluebs-webrtc
This CL should land next week, but I wanted to already upload it for review ...
4 years, 8 months ago (2016-04-06 23:05:19 UTC) #5
aluebs-webrtc
peah, could you please test the AEC results on this CL and review. Thank you ...
4 years, 8 months ago (2016-04-08 18:27:54 UTC) #6
aluebs-webrtc
On 2016/04/08 18:27:54, aluebs-webrtc wrote: > peah, could you please test the AEC results on ...
4 years, 8 months ago (2016-04-11 19:31:23 UTC) #7
peah-webrtc
On 2016/04/11 19:31:23, aluebs-webrtc wrote: > On 2016/04/08 18:27:54, aluebs-webrtc wrote: > > peah, could ...
4 years, 8 months ago (2016-04-12 11:56:41 UTC) #8
aluebs-webrtc
On 2016/04/12 11:56:41, peah-webrtc wrote: > On 2016/04/11 19:31:23, aluebs-webrtc wrote: > > On 2016/04/08 ...
4 years, 8 months ago (2016-04-14 16:35:34 UTC) #9
hlundin-webrtc
On 2016/04/14 16:35:34, aluebs-webrtc wrote: > On 2016/04/12 11:56:41, peah-webrtc wrote: > > On 2016/04/11 ...
4 years, 8 months ago (2016-04-14 16:43:29 UTC) #10
aluebs-webrtc
On 2016/04/14 16:43:29, hlundin-webrtc wrote: > On 2016/04/14 16:35:34, aluebs-webrtc wrote: > > On 2016/04/12 ...
4 years, 8 months ago (2016-04-14 17:11:56 UTC) #11
aluebs-webrtc
Only enable when there is render stream processing.
4 years, 8 months ago (2016-04-18 23:37:28 UTC) #12
peah-webrtc
On 2016/04/18 23:37:28, aluebs-webrtc wrote: > Only enable when there is render stream processing. Could ...
4 years, 8 months ago (2016-04-19 12:46:27 UTC) #13
aluebs-webrtc
On 2016/04/19 12:46:27, peah-webrtc wrote: > On 2016/04/18 23:37:28, aluebs-webrtc wrote: > > Only enable ...
4 years, 8 months ago (2016-04-19 19:57:52 UTC) #14
peah-webrtc
On 2016/04/19 19:57:52, aluebs-webrtc wrote: > On 2016/04/19 12:46:27, peah-webrtc wrote: > > On 2016/04/18 ...
4 years, 8 months ago (2016-04-20 13:44:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865633005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865633005/60001
4 years, 8 months ago (2016-04-20 17:52:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-20 19:52:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865633005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865633005/60001
4 years, 8 months ago (2016-04-20 22:26:02 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-20 22:28:01 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/eb3603bd5e72b3a941363c559ddea99ee71d510a Cr-Commit-Position: refs/heads/master@{#12451}
4 years, 8 months ago (2016-04-20 22:28:11 UTC) #26
peah-webrtc
https://codereview.webrtc.org/1865633005/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1865633005/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode380 webrtc/modules/audio_processing/audio_processing_impl.cc:380: } I think that with the new changes this ...
4 years, 8 months ago (2016-04-22 12:36:57 UTC) #27
aluebs-webrtc
https://codereview.webrtc.org/1865633005/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1865633005/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode380 webrtc/modules/audio_processing/audio_processing_impl.cc:380: } On 2016/04/22 12:36:57, peah-webrtc wrote: > I think ...
4 years, 8 months ago (2016-04-22 17:46:14 UTC) #28
tommi
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.webrtc.org/1918673002/ by tommi@webrtc.org. ...
4 years, 7 months ago (2016-04-24 22:22:16 UTC) #29
aluebs-webrtc
On 2016/04/24 22:22:16, tommi-webrtc wrote: > A revert of this CL (patchset #4 id:60001) has ...
4 years, 7 months ago (2016-04-25 19:57:20 UTC) #30
tlegrand-webrtc
4 years, 7 months ago (2016-04-26 14:34:02 UTC) #31
Message was sent while issue was closed.
On 2016/04/25 19:57:20, aluebs-webrtc wrote:
> On 2016/04/24 22:22:16, tommi-webrtc wrote:
> > A revert of this CL (patchset #4 id:60001) has been created in
> > https://codereview.webrtc.org/1918673002/ by mailto:tommi@webrtc.org.
> > 
> > The reason for reverting is: Creating a revert patch set of this to see if
it
> > could be causing the issues we see on the linux_ubsan_vptr bot now.
> > Not landing the revert just yet..
> 
> For posterity, this CL was found innocent :)

:)

LGTM for the .pb files

Powered by Google App Engine
This is Rietveld 408576698