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

Issue 1772583002: Delete VAD methods from AcmReceiver and move functionality inside NetEq (Closed)

Created:
4 years, 9 months ago by hlundin-webrtc
Modified:
4 years, 9 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@neteq-getaudio-frame
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete VAD methods from AcmReceiver and move functionality inside NetEq This change essentially does two things: 1. Remove the VAD-related methods from AcmReceiver. These are EnableVad(), DisableVad(), and vad_enabled(). None of them were used outside of unit tests. 2. Move the functionality to set AudioFrame::speech_type_ and AudioFrame::vad_activity_ inside NetEq. This was previously done in AcmReceiver, but based on information inherently owned by NetEq. With the change in 2, NetEq's GetAudio interface can be simplified by removing the output type parameter. This will be done in a follow-up CL. BUG=webrtc:5607 Committed: https://crrev.com/500c04bc86ab3ad10b4bd0eca3f0a39487bd1913 Cr-Commit-Position: refs/heads/master@{#11902}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -113 lines) Patch
M webrtc/modules/audio_coding/acm2/acm_receiver.h View 2 chunks +0 lines, -17 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.cc View 4 chunks +0 lines, -89 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc View 4 chunks +25 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 2 chunks +46 lines, -0 lines 3 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (5 generated)
hlundin-webrtc
4 years, 9 months ago (2016-03-07 09:27:53 UTC) #2
kwiberg-webrtc
lgtm https://codereview.webrtc.org/1772583002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.webrtc.org/1772583002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode192 webrtc/modules/audio_coding/neteq/neteq_impl.cc:192: } } // namespace
4 years, 9 months ago (2016-03-08 09:27:07 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772583002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772583002/1
4 years, 9 months ago (2016-03-08 09:32:14 UTC) #5
hlundin-webrtc
https://codereview.webrtc.org/1772583002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.webrtc.org/1772583002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode192 webrtc/modules/audio_coding/neteq/neteq_impl.cc:192: } On 2016/03/08 09:27:07, kwiberg-webrtc wrote: > } // ...
4 years, 9 months ago (2016-03-08 10:11:17 UTC) #6
kwiberg-webrtc
https://codereview.webrtc.org/1772583002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl.cc File webrtc/modules/audio_coding/neteq/neteq_impl.cc (right): https://codereview.webrtc.org/1772583002/diff/1/webrtc/modules/audio_coding/neteq/neteq_impl.cc#newcode192 webrtc/modules/audio_coding/neteq/neteq_impl.cc:192: } On 2016/03/08 10:11:17, hlundin-webrtc wrote: > On 2016/03/08 ...
4 years, 9 months ago (2016-03-08 10:16:30 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 10:29:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1772583002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1772583002/1
4 years, 9 months ago (2016-03-08 10:30:39 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-08 10:36:07 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 10:36:13 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/500c04bc86ab3ad10b4bd0eca3f0a39487bd1913
Cr-Commit-Position: refs/heads/master@{#11902}

Powered by Google App Engine
This is Rietveld 408576698